- CONVERSION CODES - 4 Updates
Jackson Ramos <jackso...@qualco.com>: Dec 08 07:37AM -0800
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.
Martin Phillips <mphi...@rocketsoftware.com>: Dec 08 04:11PM
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<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<mailto: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<https://groups.google.com/d/msgid/mvdbms/31f5b742-83db-469e-83a1-06efd219a79bn%40googlegroups.com?utm_medium=email&utm_source=footer>.
================================
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.
philippe GRACIA <phi...@gmail.com>: Dec 08 07:40AM -0800
hello.
G is for string extract
- is the delimiter
2 is the string returned
ex: abc-def , g-2 will return def
Steve Trimble <cdm...@gmail.com>: Dec 08 12:22PM -0600
click here:
http://downloads.openqm.com/help/index.html
index 'Index' you will find: Conversion codes
of course, all of these work with openQM (it is the best of PICK)
*Computerized Data Mgmt Inc*
*Steve Trimble*
*(501) 772-3450 cell / text*
*cdm...@gmail.com <cdm...@gmail.com>*
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to mvdbms+un...@googlegroups.com.