Hi Jackson,
Conversion codes vary a little between platforms but the G code is, as far as I know, the same everywhere. Here is a description from the QM documentation:
The group conversion code treats the source data as being formed from a number of components separated by a delimiter character and extracts specified components. It works identically on input and output conversions.
Gcn Returns the first n components of the source data delimited by character c.
Gscn Skips s components and then returns the next n components of the source data delimited by character c.
Example
Consider a date stored in character form as 03/10/98. The G conversion code could be used to extract components of this date:
G/1 returns 03
G/2 returns 03/10
G1/1 returns 10
Martin
From: mvd...@googlegroups.com <mvd...@googlegroups.com>
On Behalf Of Jackson Ramos
Sent: 08 December 2021 15:37
To: Pick and MultiValue Databases <mvd...@googlegroups.com>
Subject: [mvdbms] CONVERSION CODES
EXTERNAL EMAIL |
Is there a list of conversion codes for OCONV and ICONV I'm trying to find what G-2 converts to in OCONV, also this probably won't be my first post asking about PICK/BASIC i'm fairly new to the language, about 2 months in of learning.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit
http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mvdbms+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mvdbms/31f5b742-83db-469e-83a1-06efd219a79bn%40googlegroups.com.
================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================
This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy
all copies of this communication. Thank you.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/f44071e1-ff01-4a44-a90a-85dcc0bb1351n%40googlegroups.com.
Is there a list of conversion codes for OCONV and ICONV I'm trying to find what G-2 converts to in OCONV, also this probably won't be my first post asking about PICK/BASIC i'm fairly new to the language, about 2 months in of learning.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/31f5b742-83db-469e-83a1-06efd219a79bn%40googlegroups.com.