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 - 14.05.2024, 07:23
RE: Test posting - by Albert Richheimer - 10.06.2024, 18:31
RE: Test posting - by Albert Richheimer - 10.06.2024, 18:54
RE: Test posting - by George Bleck - 19.06.2024, 05:23
RE: Test posting - by Albert Richheimer - 19.06.2024, 06:38
RE: Test posting - by Pierre Bellisle - 27.01.2025, 21:15
RE: Test posting - by Albert Richheimer - 27.01.2025, 21:20
RE: Test posting - by Albert Richheimer - 28.01.2025, 07:30
RE: Test posting - by Pierre Bellisle - 28.01.2025, 14:58
RE: Test posting - by Albert Richheimer - 28.01.2025, 15:30
RE: Test posting - by Pierre Bellisle - 28.01.2025, 16:17
RE: Test posting - by Albert Richheimer - 01.02.2025, 19:30

Forum Jump:


Users browsing this thread: 2 Guest(s)