Test posting
#1
this is a posting to test the BB codes.

Code:
    gThreadAlive=%TRUE
    thread create ttdsPing(0) to gThread
    SetThreadPriority gThread,%thread_priority_idle

    gMainALoX  = val(GetRegValue(%HKEY_CURRENT_USER,$REGISTRY,$MAINALOX))
    gMainALoY  = val(GetRegValue(%HKEY_CURRENT_USER,$REGISTRY,$MAINALOY))
    gMutaALoX  = val(GetRegValue(%HKEY_CURRENT_USER,$REGISTRY,$MUTAALOX))
    gMutaALoY  = val(GetRegValue(%HKEY_CURRENT_USER,$REGISTRY,$MUTAALOY))


    '  Connect to ttds
    '  ---------------
    '
    gDSConn=trm_Connect(gServerURL,gttdsPort,gttdsData,gttdsUser,gttdsPass,0)
    if gDSConn < 0 then
      gErrorText="Unable to connect user "+gttdsUser+" to database "+ _
                  gttdsData+":"+$cr+"Error "+format$(abs(gDSConn))+" - "+ _
                  trm_ErrorMessage(gDSConn)
      msgbox gErrorText,%mb_iconerror or %mb_taskmodal,$ERR_CAPTION
      exit function
    end if

'  Open ttds files
'  ---------------
'
    gDLDAT = trm_Open(gDSConn,gDLDAT_File,1)
    if gDLDAT < 0 then
      gErrorText="ERR#001 Cannot open "+gDLDAT_File+". Code "+format$(gDLDAT)
      msgbox gErrorText,%mb_iconerror or %mb_taskmodal,$ERR_CAPTION
      goto closedown
    end if
    dim abg(0) as global DLGES at varptr(dld)



Code tags obviously works fine - important for us programmers.
Reply


Messages In This Thread
Test posting - by Albert Richheimer - 05-14-2024, 07:23 AM
RE: Test posting - by Albert Richheimer - 06-10-2024, 06:31 PM
RE: Test posting - by Albert Richheimer - 06-10-2024, 06:54 PM
RE: Test posting - by George Bleck - 06-19-2024, 05:23 AM
RE: Test posting - by Albert Richheimer - 06-19-2024, 06:38 AM
RE: Test posting - by Pierre Bellisle - 01-27-2025, 09:15 PM
RE: Test posting - by Albert Richheimer - 01-27-2025, 09:20 PM
RE: Test posting - by Albert Richheimer - 01-28-2025, 07:30 AM
RE: Test posting - by Pierre Bellisle - 01-28-2025, 02:58 PM
RE: Test posting - by Albert Richheimer - 01-28-2025, 03:30 PM
RE: Test posting - by Pierre Bellisle - 01-28-2025, 04:17 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)