Search found 9 matches

by Naheulf
Fri May 12, 2023 11:44 am
Forum: Bugs - IDE
Topic: [Done] line continuation inconsistency
Replies: 7
Views: 1381

Re: line continuation inconsistency


Maybe it's IDE dependent (I'm using 6.02b3) -- but the indentation doesn't look right. it should be under "this"
Just to be clear, it's not that the code doesn't work - it's that the ide doesn't indent the continuation.

The ide DOES indent the continuation. The issue is it shout NOT indent but ...
by Naheulf
Sat May 30, 2020 12:15 pm
Forum: Feature Requests and Wishlists
Topic: Add IPv6 support to IPAddressGadget()
Replies: 0
Views: 1652

Add IPv6 support to IPAddressGadget()

Can you add IPv6 support to IPAddressGadget() ?
It seem that is the only network command that don't support it.
by Naheulf
Tue Apr 14, 2020 11:57 am
Forum: Windows
Topic: ReceiveHTTPMemory fails a lot of time
Replies: 5
Views: 2982

Re: ReceiveHTTPMemory fails a lot of time

Tested 2 times for each url : 8 success, 0 fail

I use PureBasic LTS 5.72 x64 on windows 8.1 64 bits
by Naheulf
Sun Mar 01, 2020 12:37 pm
Forum: Feature Requests and Wishlists
Topic: Macro is not executed line by line.
Replies: 5
Views: 2245

Re: Macro is not executed line by line.

If you change it, it would be nice if we can also write something like this :
But why write it like that?? You can already achieve it so easily:
#UsePatch = #True ; Or #False

; Some normal code
CompilerIf #UsePatch
; Some patch code
CompilerEndIf
; Some normal code again

I used "patch" to ...
by Naheulf
Sat Feb 29, 2020 9:00 am
Forum: Feature Requests and Wishlists
Topic: Macro is not executed line by line.
Replies: 5
Views: 2245

Re: Macro is not executed line by line.

OK I found a workaround to have code executed line by line in full line macro. (When macro call is the only stuff on the line)

1 - I use some tricks to use nested macro and "save" macro params in predefined macro / macrovar (i use "macrovar" to designate macro used as variable for preprocessor)

2 ...
by Naheulf
Fri Feb 28, 2020 10:02 pm
Forum: Feature Requests and Wishlists
Topic: Macro is not executed line by line.
Replies: 5
Views: 2245

Re: Macro is not executed line by line.

If you change it, it would be nice if we can also write something like this :
Macro PatchSection
CompilerIf UsePatch
EndMacro

Macro EndPatchSection
CompilerEndIf
EndMacro

Macro UsePatch
#True ; Or #False
EndMacro


; Some normal code
PatchSection
; Some patch code
EndPatchSection
; Some ...
by Naheulf
Fri Feb 28, 2020 9:44 pm
Forum: Feature Requests and Wishlists
Topic: Macro is not executed line by line.
Replies: 5
Views: 2245

Macro is not executed line by line.

To act as normal code, macro content should be replaced and executed line by line.

This code show how macro works :
Macro CEI
CompilerElseIf #True
EndMacro

Macro TestCompilerElseIf
CompilerIf #False
; Nothing
CEI ; In macro CEI is replaced before "execute" CompilerIf. So firsh #FOO is choosed ...
by Naheulf
Sat Jul 21, 2018 1:05 am
Forum: General Discussion
Topic: [Solved] [PureUnit] Error with example.pb
Replies: 2
Views: 1381

Re: [PureUnit] Error with example.pb

Little John wrote:
Naheulf wrote:I just tried PureUnit 0.3 with given example file
Why :?:
To check if it run fine on my computer.
Little John wrote:... use the current version 1.1 that ships with PB 5.62
I haven't see this version in in PureBasic/SDK folder. Thanks it work !

PS : I use PB in windows 8.1 x64 ;)
by Naheulf
Fri Jul 20, 2018 9:56 pm
Forum: General Discussion
Topic: [Solved] [PureUnit] Error with example.pb
Replies: 2
Views: 1381

[Solved] [PureUnit] Error with example.pb

I just tried PureUnit 0.3 with given example file
Using compiler: PureBasic 5.62 (Windows - x64)

Preparing file: Example.pb
Compiling with: (no parameters)

File : Example.pb
Compiled: (no parameters)
Error: Compiler Error
On line: 223
Error: 'Read' can't convert automatically a number into a ...