REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 28-Sep-2010 Edit History  

REBOL 3 Datatypes: Issue!

As of alpha 106, issue! is part of any-word!. The description below is now obsolete and needs to be updated.



An issue! is a series of characters used to sequence symbols or identifiers for things like telephone numbers, model numbers, serial numbers, and credit card numbers.

Issue values are a subset of series, and thus can be manipulated as series:

probe copy/part find #888-555-1212 "555" 3


Issues start with a number sign (#) and continue until the first delimiting character (such as a space) is reached.


Values that contain delimiting characters should be written as strings rather than issues.


The to-issue function converts data to the issue! datatype:

probe to-issue "1234-56-7890"


Use issue? to determine whether a value is an issue! datatype.

probe issue? #1234-56-7890

As issues are a subset of the series pseudotype, use series? to check this:

probe series? #1234-56-7890

The form function returns an issue as a string without the number sign (#):

probe form #1234-56-7890

The mold function returns an issue as a string that can be read by REBOL as an issue value:

probe mold #1234-56-7890

The print function prints an issue to standard output after doing a reform on it:

print #1234-56-7890

  TOC < Back Next > - WIP Wiki Feedback Admin