To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 57
56  |  58
Subject: 
FW: New pbFORTH
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 11 May 1999 16:36:23 GMT
Viewed: 
1395 times
  
-----Original Message-----
From: John Cooper [mailto:robots@jpsc.co.uk]
Sent: Friday, May 07, 1999 8:07 AM
To: Ralph Hempel
Subject: Re: New pbFORTH


Are <# # #> TYPE working properly? I seem to be getting some strangeness.

Am I doing something wrong here (my FORTH is a bit rusty)?

: .VOLTAGE
  RCX_POWER [ HEX ] 4001 POWER_GET
  RCX_POWER @ [ DECIMAL ] 10997 390 */
  <# [CHAR] v HOLD # # # [CHAR] . HOLD #S #> TYPE
;

This works:

: .v
  RCX_POWER [ HEX ] 4001 POWER_GET
  RCX_POWER @ [ DECIMAL ] 10997 390 */
  . ." mV" CR
;
--
John Cooper, Wallington, UK



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR