realbasic-nug.fr
[Top] [All Lists]

Re: Comment créer une constante kTab ?

To: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Subject: Re: Comment créer une constante kTab ?
From: Eric Ferrer <wonderfef@gmail.com>
Date: Wed, 29 Jul 2009 17:58:28 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.fr-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.fr-bounces@lists.realsoftware.com; dkim=pass (test mode) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=ZsO/QAmjiPk5ec6ohJKdZx93gKuCNVSvdm7bR2n1PqI=; b=fqhDX7tPNkJ1OClEY4dFckDg2UOvs8XIXgVpyvcIoIAdJuXWRBTT1PPlCUS9HUGnYY z/17uj5qFdoGXr1PoV9vPyWpcA+422p0jukJzYXjnA2o8NKRx3RsGBJfnsdv2nBULxcB 7MdsnLvwE/ttmCkz/n9FQbWfbICPRMNdXeKl0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=Lzrkc/zjqAB84zy00nK7iCyZrDyo/Of0/+HZpCSssWt547YH16LM4Y4l5f9sP/yFnC B+MJSYj5ZeOBaYu4QJ2hma16lzM6kGtgWcFZUl0MTvcEq2XdTd94HbUprKaz7ljVg6nd w806dtXr7ddQE/vOhq5901jQq9Zy4JAOkGv3k=
In-reply-to: <49C1A27B-9A0F-4BD6-B366-3B229CB4D71B@edlr.fr>
References: <31125040.150533.1248875315532.JavaMail.www@wwinf1608> <49C1A27B-9A0F-4BD6-B366-3B229CB4D71B@edlr.fr>
Reply-to: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Sender: realbasic-nug.fr-bounces@lists.realsoftware.com

Le 29 juil. 2009 à 17:00, Eric dLR a écrit :

Const kTab = Chr(9)

renvoie une erreur:

This method requires more parameters than passed.

Je pense que c'est plutôt un mauvais message d'erreur. 'Chr(9)' n'est pas une constante au sens propre du terme. Et je suis d'accord... c'est bien dommage.


pour résoudre le problème, on peut simuler une constante en créant une méthode dans un module :

Function kTab() as string

return chr(9)



Eric


<Prev in Thread] Current Thread [Next in Thread>