Constant head-variables

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Leonhard
User
User
Posts: 55
Joined: Fri Jun 16, 2006 7:43 am

Constant head-variables

Post by Leonhard »

I would have constant head-variables. So you have save a Head-Variable to not overide in a Procedure.

Code: Select all

Procedure Proc(#Text.s)
  Debug #Text
EndProcedure

Proc("Hello, World!")
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

I don't get it...
please describe more detailed what you want/need.
oh... and have a nice day.
Leonhard
User
User
Posts: 55
Joined: Fri Jun 16, 2006 7:43 am

Post by Leonhard »

Kaeru Gaman wrote:I don't get it...
please describe more detailed what you want/need.
I found it wos better, when I can fixed the header-Variales, so I can certainly go that i not change the variable - value.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

@Leonhard
can't understand what you mean
a constant is not to overwriting, a variable is always to overwriting
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply