Paradox Community

Items in pnews.paradox-dos

Subject:Re: calc
Date:Wed, 28 Mar 2018 12:46:10 +0100
From:Michael Kennedy <Info@KennedySoftware.ie>
Newsgroups:pnews.paradox-dos
All sounds good to me... but I'm not very familiar with PHP...

On 27/03/2018 03:02, Bernie van't Hof wrote:
> Solution v2.
> 
> .....
 >
>      public const COL_TYPES = [
>          'NUM'      => self::NUM,
>          'DATE'     => self::DATE,
>          'STR'      => self::STR,
>          'DECIMAL'  => self::NUM,
>          'VARCHAR'  => self::STR,
>          'SMALLINT' => self::DATE,

Wondering if this should be:
            'SMALLINT' => self::NUM,

>          'DECIMAL'    => [self::NUM],
>          'VARCHAR'    => [self::STR],
>          'SMALLINT'   => [self::DATE, self::DATE],

And wondering if this should be:
            'SMALLINT'   => [self::NUM, self::DATE],

   - Mike


Copyright © 2004 thedbcommunity.com