[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ilbbak::ibi_focus

Title:FOCUS, from INFORMATION BUILDERS
Moderator:ZAYIUS::BROUILLETTE
Created:Thu Feb 19 1987
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:615
Total number of notes:1779

526.0. "Comma in Comment line" by AIMHI::CIONI_L () Thu Aug 13 1992 15:47

V 6.1.2 focus

SUFFIX file ISAM - (rms indexed)

A80 field (comment line) has commas in comment line.
What combination of usage/format will FOCUS need to get over it's
interpretation of the field with the comma in it as being comma
delimiting???

LisaC

T.RTitleUserPersonal
Name
DateLines
526.1GETTOK Fuselib subroutineEVTDD1::CARRIEREJean-Claude CarriereFri Aug 28 1992 15:4623
Lisa,

	There is unfortunetaly no direct support for this kind of construct,
	i.e. comma delimited sections being part of a field. (By the way
	this is supported for the MUMPS Interface, may be we should ask
	IBI to consider it as a new feature request ... I'll pass it along)

	However here is a way to do what you want, if your field internal
	structure ain't too complex. The idea is to use the GETTOK fuselib
	subroutine to extract each token (comma delimited).
	And this can be done by putting define fields in your master file
	which are calling the FUSELIB subroutine.

	I don't have too much time to test this, so here is the idea :

	FIELD=COMMENT, USAGE=A80, ACTUAL=A80 ,$
	DEFINE PART1/A20=GETTOK(COMMENT,80,1,',',20,PART1);
	DEFINE PART2/A20=GETTOK(COMMENT,80,2,',',20,PART2);

	etc.

Regards.
Jean-Claude.