Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Prism VB.net NOTHING in Delphi.net ? NULL? (https://www.delphipraxis.net/63532-vbulletin-net-nothing-delphi-net-null.html)

ZeroQool007 20. Feb 2006 13:02


VB.net NOTHING in Delphi.net ? NULL?
 
Hallo, folgendes Problem:

Original VB.net Code
Delphi-Quellcode:
 oi(0).ProductId.Ean = Nothing

Delphi.net Code
Delphi-Quellcode:
oi[0].ProductId.EAN := '';

Ich will anstatt '' NULL übergeben. Geht das überhaupt? Ich habe etwas rumgegoogelt usw. aber keine Antworten gefunden. Ich weiss nur, dass ich '' nicht übergeben darf, sonst stürzt das Programm ab.

thx im voraus

jbg 20. Feb 2006 13:06

Re: VB.net NOTHING in Delphi.net ? NULL?
 
Schon mit nil probiert. (Nur zur Info: NIL steht Not in List, und mit List war die Liste der belegten Speicherseiten gemeint).

ZeroQool007 20. Feb 2006 13:12

Re: VB.net NOTHING in Delphi.net ? NULL?
 
ist mir auch gerade eingefallen mit NIL. funktioniert :) thx


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:42 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz