Page 4 of 7
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 4:00 am
by bonefisher
Only thing about the link is I don't really sign up to things but that's just me.
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 7:53 am
by J2Kbr
With the web interface, yes, add links to script is just an matter of copy-and-paste!
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 9:43 am
by pablosscripts
Oh so there will be a web interface coming? Sweet!
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 9:58 am
by pablosscripts
I'm testing the printf() function, and added this to my init section:
printf("test");
But it didn't display anything in the compile window. What am I doing wrong?
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 10:15 am
by J2Kbr
pablogroup wrote:Oh so there will be a web interface coming? Sweet!
yes, definitively.
pablogroup wrote:I'm testing the printf() function, and added this to my init section: printf("test"); But it didn't display anything in the compile window. What am I doing wrong?
you are doing right:
- Code: Select all
init {
printf("test");
}
the message is show in the output panel:
- printf test.png (7 KiB) Viewed 5323 times
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 11:01 am
by pablosscripts
Ok thanks, it's definitely not working for me. Is this only working on an unreleased version of Gtuner IV?
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 11:38 am
by J2Kbr
pablogroup wrote:Ok thanks, it's definitely not working for me. Is this only working on an unreleased version of Gtuner IV?
actually this should work with the latest beta version available for download. Have you checked on win and mac versions? I tested on win, perhaps it is an bug on mac port.
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 11:41 am
by pablosscripts
Yup I'm on Mac, but I just checked on my PC and it's the same:
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 12:39 pm
by Scachi
It doesn't print anything when compiling.
It needs to be run to output something with printf.
J2Kbr did compile & run it with "Test and Debug", it looks like you just compiled it.
Re: GPC2 Language Reference
Posted:
Sat Dec 03, 2016 12:45 pm
by J2Kbr
Scachi wrote:It doesn't print anything when compiling.
It needs to be run to output something with printf.
J2Kbr did compile & run it with "Test and Debug", it looks like you just compiled it.
+1