Comments (10)
What do you mean exactly by "all the char"?
from opengeode.
Perhaps you mean the characters from international alphabet 5 - see the complete set of characters here: https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/nls/rbagscharset01169.htm
In that case I suggest you use the IA5String
built-in ASN.1 type, instead of PrintableString
(which is not supported in Opengeode
)
from opengeode.
Perhaps you mean the characters from international alphabet 5 - see the complete set of characters here: https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/nls/rbagscharset01169.htm
In that case I suggest you use the
IA5String
built-in ASN.1 type, instead ofPrintableString
(which is not supported inOpengeode
)
If I want to represent the complete set of characters,do I need to list all character ranges? like this:
char ::= PrintableString (FROM ("a".."z")|FROM ("A".."Z")|FROM("0".."9")|FROM("+".."?"))
from opengeode.
As I said, you just need to use the IA5String
type instead of PrintableString
. It contains this character set already.
from opengeode.
As I said, you just need to use the
IA5String
type instead ofPrintableString
. It contains this character set already.
like this???
char ::=IA5String;
a char::="a";
from opengeode.
No, like this:
- First you subtype IA5String to give it size limits:
MyString ::= IA5String (SIZE (0..100))
- Then if needed you can define constants of this type:
a MyString ::= "Hello, world"
- If you want to use it in the SDL model:
dcl a MyString := 'Hello, world';
from opengeode.
No, like this:
- First you subtype IA5String to give it size limits:
MyString ::= IA5String (SIZE (0..100))
- Then if needed you can define constants of this type:
a MyString ::= "Hello, world"
- If you want to use it in the SDL model:
dcl a MyString := "Hello, world";
I do not want to represent a String.I just want to represent character type. Like this. Is it right?
Char ::= IA5String (SIZE (0..1))
dcl a MyChar := "H";
from opengeode.
If it is one char you can use (SIZE (1))
And then dcl a MyChar := 'h';
(use single quotes for strings in SDL, not double quote - sorry I made the mistake in my previous answer)
from opengeode.
If it is one char you can use
(SIZE (1))
And thendcl a MyChar := 'h';
(use single quotes for strings in SDL, not double quote - sorry I made the mistake in my previous answer)
OK,Thanks for your help again.
from opengeode.
You're welcome.
from opengeode.
Related Issues (20)
- A question about SDL process parameters HOT 1
- I use the command 'make full-install' but get an error HOT 7
- ASN.1 compiler not found HOT 9
- Multiple SDL Processes HOT 2
- Composite states HOT 6
- Error - Answers of decision could overlap HOT 2
- Could you please give me a user manual about the opengeode? HOT 7
- the tool can use the command line to operate?? HOT 5
- Some questions about the OpenGEODE HOT 20
- type of channel. HOT 2
- Unexpected error - Answers of decision could overlap HOT 1
- Tagging releases
- Combining the READMEs HOT 1
- ASN.1 compiler failed - [Errno2] No such file or directory: 'dataview-uniq.asn' HOT 8
- Website for OpenGEODE HOT 3
- Having trouble getting started with OpenGEODE via TASTE VM HOT 5
- Surfacing in-line TODOs / FIXMEs as GitHub issues HOT 3
- PyPI opengeode project HOT 2
- Generated Ada code is wrong for decision with grouped answers HOT 2
- More pythonic, less system-heavy ? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opengeode.