[SOLVED] Unexpected End Topic is solved

A forum dedicated to George scripting questions
Post Reply
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

[SOLVED] Unexpected End

Post by schwarzgrau »

I tried to write a script, but I always getting errors if I try to use an IF function. So I tried the one from the wiki

Code: Select all

a = 2

IF(a == 2)
	PRINT "Variable A is equal to " a
ELSE
	PRINT "Variable A is not equal to 2."
END
But I still getting this errors:
ERROR: unexpected End.
followed by this one
C:\Users\username\Name.grg
LINE 7
ERROR: underterminated limits of instructions bloc.
END
Last edited by schwarzgrau on 07 Oct 2016, 12:18, edited 1 time in total.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
ini
Posts: 91
Joined: 14 Aug 2015, 17:47
Contact:

Re: Unexpected End

Post by ini »

try this!
if()
->
if ()
e-mail : ini@7ini.com twitter : @Ain_is_
-----------------------------------------------------
TVPaint 11 PRO STD (11.7.0 - 64bits) on
AMD Ryzen9 5950x, 3080 &2080ti, 128GB ram, Windows10, Cintiq 27 Pro (DTH-271)

TVPaint 11 PRO WIBU (11.5.1 - 64bits) on
Cintiq Mobile Studio Pro 13 (DTH-W1321H)
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: Unexpected End

Post by schwarzgrau »

thank you, that little space fixed it.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
Post Reply