POV-Ray : Newsgroups : povray.off-topic : Reserved words redux : Reserved words redux Server Time
6 Sep 2024 21:23:19 EDT (-0400)
  Reserved words redux  
From: Darren New
Date: 17 Oct 2008 15:06:18
Message: <48f8e22a$1@news.povray.org>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You know, I'm kind of surprised I've never seen a programming language
(that uses different fonts for different purposes. Something like
boldface for reserved words, italics for built-ins, so you could do
something like<br>
<br>
<b>foreach</b> index <b>in </b>mylist <b>do </b>item +=
<i>length</i>(mylist[index])<br>
<br>
or something like that. Then you could use things like "in" and "do" as
variable names as well. :-)<br>
<pre class="moz-signature" cols="72">-- 
Darren New / San Diego, CA, USA (PST)
</pre>
</body>
</html>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.