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
#2
And another test...

trying attachments - here I am attaching my line printer tool.

Simply pull your file into the attachments box below.


Attached Files
.zip   lpt.zip (Size: 34.38 KB / Downloads: 1)
„Let the machine do the dirty work.“
The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978
Reply
#3
Photo 
For images in this test I am using an external provider, in this case picr.de. Just click the image icon in the toolbar above, and enter the URL. 

And one more test, here's an autumn view from our garden:

[Image: 44670809xt.jpg]

Or you can use the usual (img))/img) tags, like here (use square braces):

[Image: 46668514bu.jpg]

Or you can pull the image into the attachment box, and a jpeg will be seen as a clickable thumbnail. Here's a companion on our favourite afternoon walking path.

Cheers,
Albert


Attached Files Thumbnail(s)
   
„Let the machine do the dirty work.“
The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978
Reply
#4


Seems you tube works nice as well.
Reply
#5
(06-19-2024, 05:23 AM)George Bleck Wrote: Seems you tube works nice as well.

Thanks for testing, George! Seems that MyBB is quite a nifty piece of software.  I think that was one of the better picks I have done, besides installing WordPress on an other domain, our repository of cooking recipes, shared with anyone who is interested in.

Cheers,
Albert
„Let the machine do the dirty work.“
The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978
Reply
#6
Albert> Code tags obviously works fine

I was hoping it worked also in code section. Sadly, it dosen't...
Reply
#7
(01-27-2025, 09:15 PM)Pierre Bellisle Wrote: Albert> Code tags obviously works fine

I was hoping it worked also in code section. Sadly, it dosen't...

Hmmm. Actually it should - I will have a deeper look into it tomorrow. Now here it is bed time...

Albert
„Let the machine do the dirty work.“
The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978
Reply
#8
(01-27-2025, 09:15 PM)Pierre Bellisle Wrote: Albert> Code tags obviously works fine

I was hoping it worked also in code section. Sadly, it dosen't...

Erm... it does. See your thread Calling opcode string discussion. Or what do you mean by code tags don't work?
„Let the machine do the dirty work.“
The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978
Reply
#9
This is what I mean by ... I was hoping it worked also in code section.


Code:
[b][color=#0000FF]FUNCTION PBMAIN[/color]()

[color=#0000FF]DIALOG NEW[/color] [color=#8000FF]%HWND_DESKTOP[/color] ,[color=#800040]"Center Dialog - Move me"[/color], , , [color=#FF0000]200[/color], [color=#FF0000]150[/color], _
[color=#8000FF]%WS_CAPTION[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_MINIMIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_MAXIMIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_SIZEBOX[/color] [color=#0000FF]OR[/color] [color=#8000FF]%WS_SYSMENU[/color], [color=#8000FF]%WS_EX_LEFT[/color] [color=#0000FF]TO[/color] hDlg
[b][i][color=#008080]'%WS_CAPTION OR %WS_MINIMIZEBOX OR %WS_SYSMENU, %WS_EX_TOPMOST TO hDlg[/color][/i][/b]

[color=#0000FF]CONTROL ADD BUTTON[/color], hDlg, [color=#8000FF]%ButtonMsg[/color], [color=#800040]"MessageBox"[/color], [color=#FF0000]50[/color], [color=#FF0000]60[/color], [color=#FF0000]100[/color], [color=#FF0000]14[/color]

[color=#0000FF]DIALOG SHOW MODAL[/color] hDlg [color=#0000FF]CALL[/color] DlgProc

[color=#0000FF]END FUNCTION[/color][/b]
Reply
#10
Thanks, now I see what you mean. Lack of colouring text inside the code section indeed might be a shortcoming of MyBB.
„Let the machine do the dirty work.“
The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)