ScriptBasic
February 09, 2012, 06:56:20 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Registration Disabled Send an e-mail to support @ scriptbasic.org to request a membership to this forum. (include desired forum name)
 
   Home   Wiki Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Embedding into application  (Read 4169 times)
support
Administrator
*****
Posts: 369


« Reply #15 on: August 06, 2010, 12:55:37 AM »

I think Peter Verhas showed you an example above of creating a string from an array that you could unpack from your C program.

Logged
Zulfi.Ali
Newbie
*
Posts: 12


« Reply #16 on: August 06, 2010, 01:25:06 AM »

The example he provided uses unpack inside ScriptBasic... however, my problem right now is how to pack it from my C code so that it can be unpacked inside ScriptBasic (i need the structure of the string array)... I will be passing the array into ScriptBasic
Logged
support
Administrator
*****
Posts: 369


« Reply #17 on: August 06, 2010, 01:44:42 AM »

I would pass your embedded script a delimited string of values and use SPLITA() to create your array from the delimited string in your running script.

Logged
Zulfi.Ali
Newbie
*
Posts: 12


« Reply #18 on: August 06, 2010, 01:57:24 AM »

Thanks!!

This solves my problem... phew!!
Logged
support
Administrator
*****
Posts: 369


« Reply #19 on: August 09, 2010, 01:40:55 AM »

When you get your project working, it would be great if you can say a few word about your experience with embedding ScriptBasic in your application. Any tips or tricks you can offer would be appreciated.
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!