|
|
#1 | ||||
|
Junior Member
Join Date: Mar 2007
Posts: 5
|
Global Variables
Ok It's simple BUT I can't do it
I've got a global variable Quote:
Quote:
then in other function Quote:
In the end BLA is 10 - and it must be 725650 Compiler says: Quote:
|
||||
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
The warning means the function "tup" is never called. Call it from somewhere. You probably want to call it from .onInit.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2007
Posts: 5
|
Ok I called it there is no longer a warning - thanks a lot
But there is a problem with the global variable BLA - could you pls see if the comands are right. I'm new to NSIS |
|
|
|
|
|
#4 | |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
If there was something wrong with the commands, you would likely recevied some other type of compile error. But since you're not, it's likely some other logic error. Unfortunatley, your examples are not enough to troubleshoot. If you need more help, you should attach a complete sample script which illustrates the problem.
Quote:
|
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2007
Posts: 5
|
THANK YOU ALL !!!
Now I've got a new problem - I think it's not so hard to solve it but I can't I've got the variable $POM($POM=10) and I want the variable to be written on one of the pages - here is an example:
|
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
WriteINIStr or MUI_INSTALLOPTIONS_WRITE.
Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|