'Shared Dim' not allowed!

Just starting out? Need help? Post your questions and find answers here.
User avatar
mk-soft
Always Here
Always Here
Posts: 6320
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: 'Shared Dim' not allowed!

Post by mk-soft »

Code: Select all

EnableExplicit

Procedure hg()
  Shared var.f
  var=3.33
EndProcedure

hg()
Debug var
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: 'Shared Dim' not allowed!

Post by Psychophanta »

miso wrote: Sun Dec 08, 2024 10:06 am It also can't define variables. Without enable explicit, variables defines itself, so you don't have to.
Ok :?
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply