Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sx4 Programming

Status
Not open for further replies.

jaytco

Vendor
Dec 13, 2001
88
US
I am currently working on an application that is running "Sx4" code and looks very similar to expect. A very compressed version of expect that is. I am trying to find some documentation of this language, but have not had any luck. Anyone ever heard or used Sx4?
 
Never worked with it..sorry.
Is there particular functionality missing from
it that you need or something?
 
From the vendor I have very limited documentation of commands and variables. If possible I wanted to see if I could use a split command that was available and could be used on a variable, whereby giving me more than the two that they document. From what I understand there in an RFC that defines the specifications (which i have not been able to locate), where expect does not have an RFC. Thought I would do a post here and see what I could find.
 
You are talking about a split() type function that
is defined,offically, as returning the components on
either side of a delimiter?

Technically, I would say, if they don't have a multiple
element returning split, but the bare bones RFC compliant implementation(?), to use it in a loop advancing the read pointer equivalency to the second elements length till (readlen >= totallen), encapsulate it in a user function(they do have those right?), record all elements in a list and
return that.

split is tcl core specific however so, I guess you are just talking about syntax when you say it is like expect?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top