Article View: comp.lang.modula2
Article #3374constant tables?
From: Eric Obermuhlner
Date: Fri, 15 Mar 1996 00:06
Date: Fri, 15 Mar 1996 00:06
17 lines
916 bytes
916 bytes
How do I make constant tables? I write code for an embedded system. Lookup tables in ROM are a pretty useful thing and I just couldn't find a way to do it. Did I miss something? Something like [BEGIN EXAMPLE] VAR myTable : ARRAY [0..9] OF CARDINAL = [0, 6, 2, 5, 1, 3, 4, 9, 8, 7]; [END EXAMPLE] +-------------------------------------------------------------+ |Eric Obermuhlner |erico@g-wiz.com | Microsoft free since 1967 +-------------------------------------------------------------+
Technical Details
Message-ID:
<erico-1403961506370001@infinitehell.cnmat.berkeley.edu>Path:
arc1-ca.pugleaf.net!infinitehell.cnmat.berkeley.edu!userShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!infinitehell.cnmat.berkeley.edu!user From: erico@cnmat.berkeley.edu (Eric Obermuhlner) Newsgroups: comp.lang.modula2 Subject: constant tables? Date: Thu, 14 Mar 1996 15:06:37 -0900 Organization: G-Wiz Message-ID: <erico-1403961506370001@infinitehell.cnmat.berkeley.edu> NNTP-Posting-Host: infinitehell.cnmat.berkeley.edu X-Newsreader: Value-Added NewsWatcher 2.0b27.1+