Page 1 of 1

Commodities information

Posted: Mon Dec 09, 2013 10:41 am
by lazi
This is really not a bug, but I do not feel it fits better to an other topic.

The @APPDESCRIPTION string is shown in the exchange's information field.

From the OS4 sdk (commodities.h):

/* Sizes for various buffers */
#define CBD_NAMELEN 24
#define CBD_TITLELEN 40
#define CBD_DESCRLEN 40

So e.g. the @APPDESCRIPTION is crippled to 40 characters length. It is not a problem, but good to know.

My question is: Where are this string displayed on other platforms and what length limitations are there?

Re: Commodities information

Posted: Sat Dec 14, 2013 6:42 pm
by airsoftsoftwair
Hollywood has a limit of 255 characters for the @APPDESCRIPTION. On Amiga platforms this is then clipped to 39 characters for commodities. On other platforms the @APPDESCRIPTION is currently not used at all.