Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 03:17:22 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Problème Output() -  (Read 763 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Kiligolo
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: 13 January, 2013, 11:35:54
Date Registered: 11 October, 2010, 18:01:20
Location: France
Posts: 218


Topic starter
Total Post Ratings: +5

View Profile
« on: 09 March, 2011, 20:48:04 »
0

Bonjour tout le monde!

Voilà je fais un programme en Axe où j'affiche du texte et des nombres avec Output(). Le seul problème c'est qu'à la place des nombres et du texte il s'affiche de nombreux et magnifiques symboles incompréhensibles qui sortent de nul part...
J'avais déjà ce problème quand j'affichais des minuscules et des majuscules dans la même fonction Text() mais je l'ai résolu.

Pouvez vous m'aider s'il vous plait? Merci.
Logged

Spoiler for Calcul Mental:
Version 1.3 :100%!!
Here is a program that reduces your dependence on the calculator! Click here!
Spoiler for Some screen shots:
       
The screenshots are in french but there is an english version
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 03:14:19
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #1 on: 09 March, 2011, 21:25:58 »
0

Si je me rapelle bien pour les chiffres il fallait ajouter un truc comme >Dec à la fin de l'instruction, comme Output(1,1,A>Dec).
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Runer112
Anti-Riot Squad
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:06:32
Date Registered: 02 July, 2009, 06:38:05
Posts: 1680


Total Post Ratings: +493

View Profile
« Reply #2 on: 09 March, 2011, 21:30:01 »
0

Pour afficher des nombres avec les commandes textes, il est nécessaire qu'on utilise ►Dec, comme ceci. Je suppose que c'est votre problème, mais peut-être pas.


1
2
3
4
5
Disp 12345►Dec
Output(11,0,12345►Dec)
Text 12345►Dec
Text(40,30,12345►Dec)


Pour afficher du texte, on ne utilise pas de modificateur comme ►Dec, donc quelque chose comme cela n'est pas le problème. Je pense à deux problèmes: soit le texte n'est pas de chaîne valide soit le pointeur vers la chaîne n'est pas correct. Si vous affichez le code avec lequel vous rencontrez des problèmes, peut-être je peux repérer ce qui cloche.


Et pardon mon français s'il y a des erreurs, je ne le parle pas nativement.


EDIT: Ninja'd.
« Last Edit: 09 March, 2011, 21:34:27 by Runer112 » Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 03:14:19
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #3 on: 09 March, 2011, 21:33:23 »
0

Oh c'est vrai Output commence à 0,0 X.x
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Kiligolo
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: 13 January, 2013, 11:35:54
Date Registered: 11 October, 2010, 18:01:20
Location: France
Posts: 218


Topic starter
Total Post Ratings: +5

View Profile
« Reply #4 on: 09 March, 2011, 21:56:44 »
0

Ah merci beaucoup! Smiley
C'est pas grave pour le français j'ai compris. ^^
Pour utiliser input c'est bien ceci qu'il faut faire?

input->C
Logged

Spoiler for Calcul Mental:
Version 1.3 :100%!!
Here is a program that reduces your dependence on the calculator! Click here!
Spoiler for Some screen shots:
       
The screenshots are in french but there is an english version
Runer112
Anti-Riot Squad
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 01:06:32
Date Registered: 02 July, 2009, 06:38:05
Posts: 1680


Total Post Ratings: +493

View Profile
« Reply #5 on: 09 March, 2011, 22:18:48 »
0

input retourne un pointeur vers une chaîne de tokens. Toutefois, les commandes texte affichent des chaînes de caractères ASCII, et non pas de tokens. Seulement les lettres majuscules et les chiffres ont value de tokens et values ASCII équivalent. Tout autre n'afficheront pas correctement.
« Last Edit: 09 March, 2011, 22:20:13 by Runer112 » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.185 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.