Thanks
Good idea re common module
but what happens to global variables? are they reset if used in another module?
Search found 736 matches
- Thu May 22, 2025 5:17 pm
- Forum: Coding Questions
- Topic: Structure global to multiple modules
- Replies: 7
- Views: 632
- Thu May 22, 2025 4:09 pm
- Forum: Coding Questions
- Topic: Structure global to multiple modules
- Replies: 7
- Views: 632
Structure global to multiple modules
This might be a stupid question but I created an include file which I add at the top of my file
Structure stType
code.a
flag.a
i.w
ndx.u
EndStructure
Global Dim gszATR.s( #LJTOKENS )
But the structure is not available if I don't add it inside the module
Is this a bug? Or am I missing ...
Structure stType
code.a
flag.a
i.w
ndx.u
EndStructure
Global Dim gszATR.s( #LJTOKENS )
But the structure is not available if I don't add it inside the module
Is this a bug? Or am I missing ...
- Tue May 28, 2024 8:57 pm
- Forum: Tricks 'n' Tips
- Topic: Incredible SQLite speed
- Replies: 5
- Views: 2319
Re: Incredible SQLite speed
you can just insert many records in one insert statement {} per statement without compromising the log functionality
- Tue May 28, 2024 8:39 pm
- Forum: Tricks 'n' Tips
- Topic: AA-Tree (self balancing binary tree)
- Replies: 18
- Views: 9711
Re: AA-Tree (self balancing binary tree)
This is truly nice
- Fri May 24, 2024 5:40 am
- Forum: Coding Questions
- Topic: Issue with BOM
- Replies: 8
- Views: 1525
Re: Issue with BOM
Thanks guys I will try it out
- Thu May 23, 2024 11:57 am
- Forum: Coding Questions
- Topic: Issue with BOM
- Replies: 8
- Views: 1525
Issue with BOM
I had this code which worked on the 5.71 PB and now it doesn't with 6.1
has the BOM logic changed ?
f = ReadFile( #PB_Any, filename, #PB_File_NoBuffering )
If Not f
filename = ""
MessageRequester("LJLAng", "Could not read file")
Else
SetWindowTitle( #MainWindow, "Compiler - " + filename ...
has the BOM logic changed ?
f = ReadFile( #PB_Any, filename, #PB_File_NoBuffering )
If Not f
filename = ""
MessageRequester("LJLAng", "Could not read file")
Else
SetWindowTitle( #MainWindow, "Compiler - " + filename ...
- Fri May 03, 2024 2:10 am
- Forum: General Discussion
- Topic: Differences between 6.1 5.73
- Replies: 19
- Views: 5584
Re: Differences between 6.1 5.73
@jackalad
.i has a different size in 32bit and 64bit
Since this is a compiler I needed structures which would remain the same size
.i has a different size in 32bit and 64bit
Since this is a compiler I needed structures which would remain the same size
- Wed May 01, 2024 6:07 am
- Forum: General Discussion
- Topic: Differences between 6.1 5.73
- Replies: 19
- Views: 5584
Re: Differences between 6.1 5.73
I am using .l some place. Will check that out
- Tue Apr 30, 2024 3:44 pm
- Forum: General Discussion
- Topic: Differences between 6.1 5.73
- Replies: 19
- Views: 5584
Re: Differences between 6.1 5.73
no errors when compiling
crashes when ran....hence my question
It is a compiler, and quite difficult to isolate where the issue comes from which is why I didn't post any code
crashes when ran....hence my question
It is a compiler, and quite difficult to isolate where the issue comes from which is why I didn't post any code
- Tue Apr 30, 2024 2:19 pm
- Forum: General Discussion
- Topic: Differences between 6.1 5.73
- Replies: 19
- Views: 5584
Differences between 6.1 5.73
Is there an official list of the differences between these 2 versions? I had code which worked well, and now it doesn't
- Sun Apr 28, 2024 2:16 pm
- Forum: Coding Questions
- Topic: PB CGI / Spiderbasic issues [solved]
- Replies: 6
- Views: 1650
Re: PB CGI / Spiderbasic issues [solved]
thanks for the help guys. It was an IIS issue. for those interested the following steps make the magic work
https://www.greyware.com/kb/KB2005.502.asp
https://www.greyware.com/kb/KB2005.502.asp
- Sun Apr 28, 2024 1:47 pm
- Forum: Coding Questions
- Topic: PB CGI / Spiderbasic issues [solved]
- Replies: 6
- Views: 1650
Re: PB CGI / Spiderbasic issues
https worked; so its an IIS issue
- Sun Apr 28, 2024 5:47 am
- Forum: Coding Questions
- Topic: PB CGI / Spiderbasic issues [solved]
- Replies: 6
- Views: 1650
Re: PB CGI / Spiderbasic issues
@paul
I get error when I tried with your link
@idle
There are already sites and programs using IIS, so changing server is definitely out of the question plus the mechanics should work whatever server is used
And I am not sure which side has the bug, and PB has many more users than SB
I get error when I tried with your link
@idle
There are already sites and programs using IIS, so changing server is definitely out of the question plus the mechanics should work whatever server is used
And I am not sure which side has the bug, and PB has many more users than SB
- Sat Apr 27, 2024 3:07 pm
- Forum: Coding Questions
- Topic: PB CGI / Spiderbasic issues [solved]
- Replies: 6
- Views: 1650
PB CGI / Spiderbasic issues [solved]
I am trying my first server/client app. Server side I have IIS 7 on Windows server 12R2 and am using test examples found on the forum though dated
I have enabled cgi on IIS
PB App
If Not InitCGI() Or Not ReadCGI()
End
EndIf
name$=CGIParameterValue("name")
WriteCGIHeader(#PB_CGI ...
I have enabled cgi on IIS
PB App
If Not InitCGI() Or Not ReadCGI()
End
EndIf
name$=CGIParameterValue("name")
WriteCGIHeader(#PB_CGI ...
- Sun Sep 19, 2021 9:48 am
- Forum: Coding Questions
- Topic: Pressed / grid look
- Replies: 9
- Views: 2588
Re: Pressed / grid look
@collectordave
relax. It was not a slight at you. I didn't understand it, and didn't manage to make it work. But thanks for the help, I appreciate it.
relax. It was not a slight at you. I didn't understand it, and didn't manage to make it work. But thanks for the help, I appreciate it.