Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001401I6 LibraryGeneralpublic2014-08-29 13:462015-05-10 17:46
Assigned ToDavidG 
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version6/12 
Target Version6/12Fixed in Version 
Summary0001401: Infix inventory command returns programming errors
DescriptionFrom [^]

Build a game with Infix support compiled in. Execute ";I" or ";INVENTORY".


[** Programming error: tried to print (string) on something not a string **]

[** Programming error: tried to print (string) on something not a string **]
  twenty-five objects;
  non-library object-name constants:
    theroom apple
  five classes:
    Class Object Routine String CompassDirection
Minimal Source Text To Reproduce
!% -X
Include "parser.h"; Include "verblib.h"; Include "grammar.h";
[ Initialise; location = theroom; ];
Object theroom "The Room" with description "This is just a plain room like any other.", 
has light;
Object -> apple "apple" with name 'apple' has edible;
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
DavidG (developer)
2014-08-29 13:50

These programming error messages come from the first line of code in InfixInvSub().

[ InfixInvSub i;
    print (string) Story, (string) Headline;
DavidG (developer)
2014-08-29 13:56

The error messages come from Story and Headline not being set. Technically this is allowed, but practically speaking, one should always set them.
jmcgrew (administrator)
2015-05-10 17:46

Closing all resolved issues from 2014 and earlier.

- Issue History
Date Modified Username Field Change
2014-08-29 13:46 DavidG New Issue
2014-08-29 13:46 DavidG Status new => assigned
2014-08-29 13:46 DavidG Assigned To => DavidG
2014-08-29 13:50 DavidG Note Added: 0003124
2014-08-29 13:56 DavidG Note Added: 0003125
2014-08-29 13:56 DavidG Status assigned => resolved
2014-08-29 13:56 DavidG Resolution open => no change required
2015-05-10 17:46 jmcgrew Note Added: 0003458
2015-05-10 17:46 jmcgrew Status resolved => closed

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker