Re: [Gambas-user] Gambas Scripting Language - Some Questions

2009-05-21 Thread Alonso Cardenas Marquez
Hi everybody

The gambas was updated to 2.13.0 on FreeBSD ports tree, It
compiles/runs without problems on i386/amd64 (I use it on i386), The
previous version had some problems on amd64 (missing info files, some
problems on pointyhat build package system, etc).

If some FreeBSD user could test it on amd64, I could give me useful
information about like it is working there.

Well, that's all, enjoy it :)

Greetings
ACM

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas Scripting Language - Some Questions

2009-05-21 Thread Sergio A. Hernandez
Yes, the gb.xml is installed on my system, it is visible under the tab
COMPONENTS.
Actually, I have the Gambas application that runs this example, and works
fine as an application.

2009/5/21 Benoît Minisini gam...@users.sourceforge.net

  2009/5/18 Benoît Minisini gam...@users.sourceforge.net
 
Hello all,
I have some questions about the scripting language. I need a little
help. Question
   
Thanks in advance, and have a nice weekend.
  
   The scripter works by creating a temporary project from your script, by
   compiling it, and by running it. The compiled project is cached so that
   it is
   used immediately if you run the script again.
  
   So:
1- The gbs2 scripter only have access to the gb. internal native
 class?
  
   No, it can use any component.
  
2- How can I use other components as the gb.XML?
  
   By using the special instruction USE. For example:
  
   USE gb.xml,gb.xml.rpc
  
3- Why my scripts dont run directly even when I am including the
 first
line #!/usr/bin/env gbs2?
  
   Two possible reasons:
  
   - The gbs2 symbolic link does not exist.
  
   - It exists, but is not in a directory specified in your PATH
 environment
   variable.
  
4- How can I pass arguments to the script?
  
   Just pass them:
  
   $ MyScript A B C
  
   Regards,
  
   --
   Benoît
  
   Hello again, I am trying to run this script base on what you guys
 suggest
 
  me, however I received the following error message:
  MMain.GenerateFiles.234: This component doesn't exist : gb.xml
  0: MMain.GenerateFiles.234
  1: MMain.MakeVirtualProject.140
  2: MMain.Main.61
 

 Is gb.xml installed on your system? Do you see it in the Gambas IDE?

 --
 Benoît


 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
 is a gathering of tech-side developers  brand creativity professionals.
 Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing, 
 iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
 Group, R/GA,  Big Spaceship. http://www.creativitycat.com
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas Scripting Language - Some Questions

2009-05-16 Thread Garulfo Unix
Hum well,

first of all, i think the best man to answer you is Fabien Bodard.
He is the creator of GBS. Mainly, i see GBS like a administrator language
to manage some tasks over your system. If you don't like Bash for instance,
you can without problem use it in replacement.

However i don't really know if you can linking some GB components with GBS.

Surely Benoît or another Gambas user will know answering you.

 4- How can I pass arguments to the script?

Simplely with the Application static class. There is a ARGS[] array which
stocks arguments passed by command line.

François.

2009/5/16 Sergio A. Hernandez info.g...@gmail.com

 Hello all,
 I have some questions about the scripting language. I need a little help.
 Question
 1- The gbs2 scripter only have access to the gb. internal native class?
 2- How can I use other components as the gb.XML?
 3- Why my scripts dont run directly even when I am including the first
 line #!/usr/bin/env gbs2?
 4- How can I pass arguments to the script?

 Thanks in advance, and have a nice weekend.


 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 unlimited royalty-free distribution of the report engine
 for externally facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas Scripting Language - Some Questions

2009-05-15 Thread Sergio A. Hernandez
Hello all,
I have some questions about the scripting language. I need a little help.
Question
1- The gbs2 scripter only have access to the gb. internal native class?
2- How can I use other components as the gb.XML?
3- Why my scripts dont run directly even when I am including the first
line #!/usr/bin/env gbs2?
4- How can I pass arguments to the script?

Thanks in advance, and have a nice weekend.

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user