You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Theera

Beginner

  • "Theera" is male
  • "Theera" started this thread

Posts: 21

Date of registration: Feb 27th 2014

Location: Supanburi ,Thailand

Occupation: Agric Chemical Seller

Hobbies: learning programming and English

  • Send private message

1

Sunday, March 9th 2014, 4:55am

How to get rid of this problem

Hi all,
I've test the sample project which attached with Jabaco(Fractal.jba). I have error code about End Command. Please help me to know to get rid of this. Thank you in advance.
Theera has attached the following image:
  • error.png
P.S. I'm not good at English and programming,Please understand me.
Best Regards,

Theera

Dani

Intermediate

Posts: 325

Date of registration: Nov 19th 2009

Location: GERMANY

  • Send private message

2

Sunday, March 9th 2014, 7:51am

Delete the

Quoted

End
use

Jabaco Source

1
Exit Sub or Exit Function



within Subs or Functions!




Dani

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

3

Sunday, March 9th 2014, 12:04pm

I've test the sample project which attached with Jabaco(Fractal.jba). I have error code about End Command.
Thats correct.
The Fractal-program was written for Jabaco 1.4.0. But in the time to version 1.5.2 the compiler changed a little bit, so that an "End" alone, no longer works. Problem is, that the compiler have to find out between "End" (the function), "End Sub", "End Function", "End If", "End Select", etc.

But with "End" in the Fractal-Example is meant the function "End", which closes the program.
You can call that function with its full name

Jabaco Source

1
VB#Global.End
or doing it the Java-way

Jabaco Source

1
System.exit(0)

Greatings
theuserbl

Theera

Beginner

  • "Theera" is male
  • "Theera" started this thread

Posts: 21

Date of registration: Feb 27th 2014

Location: Supanburi ,Thailand

Occupation: Agric Chemical Seller

Hobbies: learning programming and English

  • Send private message

4

Monday, March 10th 2014, 2:10am

I prefer VB#Global.End because It's looklike VB. Thanks both of you.
P.S. I'm not good at English and programming,Please understand me.
Best Regards,

Theera

This post has been edited 4 times, last edit by "Theera" (Mar 10th 2014, 2:28am)


Rate this thread
WoltLab Burning Board