Power BI - Les bases de la construction d’une requête Tutoriels

Découvrez comment utiliser les outils de recherche de la suite Microsoft 365 pour retrouver facilement des documents, des mails, des notes, des fichiers et des conversations.
Cette formation en ligne comprend 16 vidéos tutorielles sur les outils de recherche de la suite Microsoft 365, ainsi qu'un quiz portant sur l'ensemble de la formation.
Apprenez à rechercher des documents de différentes manières et à gagner du temps dans vos recherches de documents et d'informations.
Cette formation s'adresse à tout utilisateur de la suite Microsoft 365, du niveau débutant à intermédiaire.
Obtenez des conseils pratiques pour affiner vos recherches et accéder rapidement à vos documents les plus récemment utilisés.
Contactez-nous pour plus d'informations sur l'utilisation des outils de recherche dans Microsoft 365.

  • 6:29
  • 1463 vues
00:00:00
Alors, on va commencer tout de suite
00:00:01
et on va créer dans le dossier des
00:00:04
festivals dans le fichier des festivals,
00:00:06
on va pouvoir créer une requête un
00:00:08
peu custom qui va nous permettre
00:00:09
de nous entraîner à écrire.
00:00:11
Notre première requête en M et donc
00:00:15
pour ça et bien dans ces cas-là,
00:00:16
il y aura qu’un seul type
00:00:17
de source possible,
00:00:18
ça sera la requête vide ici,
00:00:20
et on va totalement, on va directement
00:00:22
aller dans l'éditeur avancé,
00:00:23
pour avoir la vue complète,
00:00:25
alors comme vous le voyez à chaque
00:00:27
fois il va mettre d'entrée de
00:00:29
jeu le terme let et le terme in.
00:00:31
Le terme lettre indique qu'on va
00:00:33
démarrer les manipulations et le
00:00:35
terme in indique qu'on a terminé
00:00:38
les manipulations et donc on va
00:00:40
retourner une valeur particulière
00:00:42
pour ceux qui codent un petit peu.
00:00:43
C'est l'équivalent de return qu'on
00:00:45
peut avoir dans des fonctions,
00:00:47
donc ici on va faire quelque
00:00:48
chose de très simple.
00:00:49
On va écrire une variable qui va s'appeler,
00:00:53
alors je reviendrai sur
00:00:54
la notion de de variable.
00:00:55
Retenez juste que ça permet de stocker
00:00:58
des informations le long de notre code.
00:01:01
Et donc on va créer une variable
00:01:03
qui va s'appeler quelque chose ici.
00:01:05
Qui va être égal à un peu de texte.
00:01:11
Alors on fait des choses assez simples,
00:01:12
? Pour l'instant, et on va déjà
00:01:14
essayer de retourner cette valeur-là,
00:01:16
donc là on va lui demander de
00:01:18
retourner quelque chose et là
00:01:19
vous voyez que et ça c'est super,
00:01:20
qu’il a il commence déjà à vous
00:01:22
aider en proposant une auto-complétion
00:01:24
sur le terme quelque chose.
00:01:26
On va rentrer ça.
00:01:30
Et à partir de là, on voit que,
00:01:32
Eh bien, il m'a bien retourné la
00:01:35
valeur que je lui ai indiquée.
00:01:38
Ici, donc je repars depuis.
00:01:41
Hop, depuis l'éditeur avancé donc.
00:01:44
Pour rappel ce qui s'est passé donc l'été
00:01:47
permet de démarrer les retraitements ici,
00:01:50
on a déclaré une variable
00:01:52
qui s'appelle quelque chose,
00:01:53
on a mis le signe égal pour lui
00:01:55
indiquer qu'on va lui placer du texte
00:01:57
et enfin du texte ou tout autre valeur.
00:01:59
On verra qu'il y a d'autres types de
00:02:00
données et on va lui à placer du coup une
00:02:03
valeur et ensuite à après le in,
00:02:06
on va lui indiquer la valeur de
00:02:07
retour qu'on soit envoyé et là
00:02:09
il y en a qu'une impossible,
00:02:10
c'est quelque chose, celle qu'on a déclaré.
00:02:13
Vous verrez que souvent dans les si je
00:02:17
prends une roquette qu'on a déjà créée.
00:02:20
Si je vais quand ?
00:02:21
L'éditeur avançait.
00:02:25
Donc là en fait tout ça,
00:02:25
là, ce que vous voyez ici,
00:02:26
ce sont des variables ici avec à
00:02:29
chaque fois égal et du coup le la
00:02:31
transformation qu'on souhaite en faire.
00:02:33
Vous avez sans doute remarqué que
00:02:35
au niveau de la nomenclature alors,
00:02:37
le début peut un peu ressembler
00:02:38
à ce que j'ai fait là.
00:02:39
Ici,
00:02:39
on voit le terme source mais
00:02:41
par contre très vite.
00:02:43
On va avoir des valeurs qui
00:02:45
commencent par dièse et qui ensuite
00:02:47
sont mis entre parenthèses,
00:02:49
alors ça c'est dans le cas où le
00:02:51
nom de votre variable comporte des
00:02:53
espaces parce que normalement une
00:02:54
variable ne peut pas contenir d'espaces.
00:02:56
Mais en M on va pouvoir,
00:02:59
on va pouvoir le faire et donc pour ça,
00:03:01
pour que le M puisse le comprendre,
00:03:03
on va utiliser cette nomenclature-là,
00:03:05
donc je vais retourner ici dans mon code.
00:03:08
Que j'ai placé le non ?
00:03:10
Alors pour l'instant,
00:03:11
je vais la ranger plutôt dans le dossier.
00:03:12
Autres roquettes.
00:03:14
Et on va d'ailleurs la renommer
00:03:16
va l'appeler entraînement.
00:03:19
M, Voilà et on va repasser
00:03:23
dans l'éditeur avancé.
00:03:27
Et on va aller s'amuser à déclarer une
00:03:29
autre variable banque pour déclarer
00:03:32
une nouvelle procédure entre guillemet.
00:03:34
On va ici mettre une virgule et dire
00:03:36
qu'ont enchaîné sur autre chose et
00:03:38
donc on va déclarer. Une variable.
00:03:42
Donc on met le caractère dièse,
00:03:44
on ouvre les guillemets et on va
00:03:46
passer le nom donc par exemple ici on
00:03:48
va remettre à nouveau quelque chose.
00:03:51
Mais là, ce coup-ci avec un
00:03:54
espace et comme on a bien fait
00:03:55
ce travail de d'encadrement
00:03:56
avec les guillemets et le dièse,
00:03:58
Eh bien ils ne nous remontent pas
00:03:59
d'erreur et donc là on va lui placer
00:04:02
encore une valeur encore du texte.
00:04:07
À partir de là, il n’y a pas d'erreur et
00:04:09
donc je peux maintenant lui demander de
00:04:11
me retourner plus tôt cette valeur-là.
00:04:13
Ainsi ? Et voir ce que ça donne.
00:04:19
Voilà donc là, évidemment,
00:04:19
ce ne sont pas encore des tableaux,
00:04:21
on est juste en train de s'entraîner
00:04:23
à retourner, du texte,
00:04:25
mais vous avez vu comment, potentiellement,
00:04:27
déclarer plusieurs variables.
00:04:28
On voit d'ailleurs que,
00:04:30
étant donné que je suis revenu à la ligne.
00:04:33
Ouais, ici je suis,
00:04:34
j'ai mis une virgule, j'ai retour,
00:04:35
je suis revenu à la ligne.
00:04:37
Eh bien il va considérer que
00:04:39
c'était une étape de mon,
00:04:41
de mon process et donc me créer
00:04:42
ici une étape comme vous le voyez,
00:04:44
donc c'est vraiment exactement
00:04:46
comme si on utilisait les menus.
00:04:49
Donc si on récapitule un peu
00:04:49
ce qu'on vient de dire,
00:04:50
que c'est vraiment la base,
00:04:51
vous devez vraiment essayer de
00:04:53
de comprendre tout ça.
00:04:54
Donc on a le Léthé qui encapsulé toutes
00:04:57
les manipulations réalisées sur les données.
00:04:59
On peut déclarer 2 des variables
00:05:01
de sous 2 formats quand ?
00:05:03
Elle contient des espaces,
00:05:05
on va devoir commencer par dièse,
00:05:06
puis mettre des guillemets.
00:05:07
Et si elle ne contient pas d'espace,
00:05:09
et bien on peut l'écrire directement
00:05:11
et ensuite,
00:05:12
une fois que on atteint le in,
00:05:14
y a plus de manipulation qui sont
00:05:16
qui sont possibles et donc on
00:05:18
va pouvoir rajouter du coup le
00:05:20
terme que l'on souhaite retourner.
00:05:23
Alors comme vous le voyez ici,
00:05:24
dans cet exemple là j'ai rajouté des,
00:05:27
des doubles,
00:05:27
slash et du texte derrière qui
00:05:29
ne s’affiche pas de la même couleur.
00:05:30
Ça, ça correspond aux commentaires.
00:05:33
Donc si je reviens ici sur mon code.
00:05:34
Et que je repasse sur l'éditeur avancé.
00:05:38
Eh bien,
00:05:38
je vais pouvoir mettre ici par
00:05:40
exemple un double slash et mettre
00:05:42
un petit peu de blablas.
00:05:44
Un petit peu de blabla.
00:05:48
Et ça en fait,
00:05:49
ça ne sera pas exécuté,
00:05:49
c'est uniquement des commentaires
00:05:50
pour pouvoir expliquer un petit
00:05:52
peu les manipulations qu'on fait.
00:05:53
C'est universel à tous les langages de de,
00:05:55
de programmation et donc ça
00:05:57
peut vous aider vous-même,
00:05:58
à vous souvenir de ce que vous
00:06:00
avez fait et pourquoi vous avez
00:06:01
fait tel type de manipulation.
00:06:02
Donc c'est bien d'avoir le
00:06:03
réflexe de commenter son code.
00:06:05
Je c'est un grand défaut que j'ai,
00:06:06
c'est que j'ai du mal à le faire,
00:06:08
mais je vous invite vous à prendre
00:06:10
tout de suite les bonnes habitudes
00:06:12
pas comme moi et de penser à bien
00:06:14
commenter votre code et donc là,
00:06:16
typiquement si je l'exécute,
00:06:17
vous vous rendrez compte qu’il
00:06:19
n'y a pas d'affichage,
00:06:20
de ce que je viens de faire,
00:06:21
, comme vous voyez ici.
00:06:23
Ah, le commentaire n'existe pas en l'état,
00:06:25
en tout cas pour l'exécution du code,
00:06:26
ça ne l'est que quand on
00:06:27
est dans l'éditeur avancé.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
So, let's start right away.
00:00:01
And we will create in the file of
00:00:04
festivals in the festival file,
00:00:06
We will be able to create a query a
00:00:08
little custom that will allow us
00:00:09
to train us to write.
00:00:11
Our first request in M and therefore
00:00:15
for that and well in these cases,
00:00:16
there will be only one type
00:00:17
possible source,
00:00:18
it will be the empty query here,
00:00:20
and we go totally, we go directly
00:00:22
Go to the advanced editor huh,
00:00:23
to have the complete view,
00:00:25
So as you see every time
00:00:27
times it will put from the outset of
00:00:29
Play the term let and the term in.
00:00:31
The term letter indicates that we will
00:00:33
Start the manipulations and the
00:00:35
term in indicates that we have completed
00:00:38
the manipulations and therefore we will
00:00:40
Return a particular value
00:00:42
for those who code a little bit.
00:00:43
This is the equivalent of return that we
00:00:45
may have in functions,
00:00:47
So here we will do something
00:00:48
Very simple thing.
00:00:49
We will write a variable that will be called,
00:00:53
then I will come back to
00:00:54
the notion of variable.
00:00:55
Just remember that it allows you to store
00:00:58
information along our code.
00:01:01
And so we're going to create a variable
00:01:03
which is going to be called something here.
00:01:05
Which will be equal to a little text.
00:01:11
So we do pretty simple things,
00:01:12
huh? For now, and we're already going
00:01:14
try to return this value there,
00:01:16
So here we will ask him to
00:01:18
flip something over and there
00:01:19
You see that and that's great,
00:01:20
that he has it already begins to you
00:01:22
Help by proposing an auto-completion
00:01:24
on the term something.
00:01:26
We're going to get that in.
00:01:30
And from there, we see that,
00:01:32
Well, he did return the
00:01:35
value I indicated to him, huh.
00:01:38
Here, so I've been leaving since.
00:01:41
Hop, from the advanced editor so.
00:01:44
As a reminder what happened in the summer
00:01:47
allows you to start reprocesses here,
00:01:50
a variable was reported
00:01:52
which is called something,
00:01:53
We put the equal sign for him
00:01:55
indicate that text will be placed on it
00:01:57
and text or any other value.
00:01:59
It will be seen that there are other types of
00:02:00
data and we will place him suddenly a
00:02:03
value and then to after the in,
00:02:06
We will tell him the value of
00:02:07
back that we are sent and there
00:02:09
there is only one impossible,
00:02:10
That is something, the one that has been declared.
00:02:13
You will see that often in the if I
00:02:17
Take a rocket you've already created.
00:02:20
If I go when?
00:02:21
The publisher was moving forward.
00:02:25
So there in fact all that,
00:02:25
there, what you see here,
00:02:26
These are variables here with
00:02:29
each time equal and suddenly the
00:02:31
transformation that we want to make of it.
00:02:33
You may have noticed that
00:02:35
at the level of nomenclature then,
00:02:37
The beginning may look a bit like
00:02:38
to what I did there.
00:02:39
Here
00:02:39
We see the term source but
00:02:41
on the other hand very quickly.
00:02:43
We will have values that
00:02:45
start with pound sign and then
00:02:47
are put in brackets,
00:02:49
So that's in the case where the
00:02:51
Name of your variable has
00:02:53
spaces because normally a
00:02:54
variable cannot contain spaces.
00:02:56
But in M we will be able to,
00:02:59
We will be able to do it and so for that,
00:03:01
so that the M can understand it,
00:03:03
We will use this nomenclature there,
00:03:05
So I'm going to go back here in my code.
00:03:08
That I placed the no?
00:03:10
So for now,
00:03:11
I will put it in the file instead.
00:03:12
Other rockets.
00:03:14
And we're going to rename it
00:03:16
will call it training.
00:03:19
M, That's it and we'll go back
00:03:23
in the advanced editor.
00:03:27
And we're going to have fun declaring a
00:03:29
Other bank variable to report
00:03:32
A new procedure in quotation marks.
00:03:34
Here we will put a comma and say
00:03:36
that we chain on something else and
00:03:38
So we're going to declare. A variable.
00:03:42
So we put the sharpened character,
00:03:44
we open the quotation marks and we go
00:03:46
pass the name so for example here we
00:03:48
will put something back again.
00:03:51
But here, this shot with a
00:03:54
space and how well we did
00:03:55
This supervisory work
00:03:56
with quotation marks and pound sign,
00:03:58
Well they don't go back to us
00:03:59
of error and therefore there we will place it
00:04:02
Another value of the text.
00:04:07
From there, there is no error and
00:04:09
So I can now ask him to
00:04:11
I return this value sooner.
00:04:13
Thus? And see what happens.
00:04:19
So that's it, obviously,
00:04:19
they are not yet tables,
00:04:21
We're just training
00:04:23
to return, eh, of the text,
00:04:25
But you've seen how, potentially,
00:04:27
declare multiple variables.
00:04:28
We also see that,
00:04:30
since I went back to the line.
00:04:33
yes, here I am,
00:04:34
I put a comma, I went back,
00:04:35
I went back to the line.
00:04:37
Well, he will consider that
00:04:39
It was a step of my,
00:04:41
of my process and therefore create me
00:04:42
here a step as you see,
00:04:44
So it's really exactly
00:04:46
as if we were using menus.
00:04:49
So if we recap a little
00:04:49
what has just been said,
00:04:50
that this is really the basis,
00:04:51
You really have to try to
00:04:53
to understand huh all that.
00:04:54
So we have the lethe that encapsulated all
00:04:57
the manipulations performed on the data.
00:04:59
2 of the variables can be reported
00:05:01
From in 2 formats when?
00:05:03
It contains spaces,
00:05:05
We'll have to start with pound,
00:05:06
then put quotation marks.
00:05:07
And if it doesn't contain spaces,
00:05:09
well we can write it directly
00:05:11
and then,
00:05:12
Once we reach the in,
00:05:14
There is more manipulation that are
00:05:16
which are possible and therefore we
00:05:18
will be able to add the
00:05:20
term that one wishes to return.
00:05:23
So as you see here,
00:05:24
In this example I added DES,
00:05:27
duplicates,
00:05:27
slash and the text behind which
00:05:29
is not displayed in the same color.
00:05:30
That corresponds to the comments.
00:05:33
So if I go back here to my code.
00:05:34
And that I go back to the advanced editor.
00:05:38
Well
00:05:38
I will be able to put here by
00:05:40
example a double slash and put
00:05:42
A little bit of blah.
00:05:44
A little bit of blah blah.
00:05:48
And that actually,
00:05:49
it will not be executed,
00:05:49
it's only comments
00:05:50
to be able to explain a small
00:05:52
little the manipulations we do.
00:05:53
It is universal to all languages of,
00:05:55
programming and so that
00:05:57
can help you yourself,
00:05:58
to remember what you
00:06:00
have done and why you have
00:06:01
does this type of manipulation.
00:06:02
So it's nice to have the
00:06:03
reflex to comment on his code.
00:06:05
I this is a great defect that I have,
00:06:06
it's that I'm struggling to do it,
00:06:08
but I invite you to take
00:06:10
Right away good habits
00:06:12
not like me and thinking about well
00:06:14
comment on your code and so there,
00:06:16
typically if I run it,
00:06:17
You will realize that it
00:06:19
There's no display, huh,
00:06:20
of what I have just done,
00:06:21
huh, as you see here.
00:06:23
Ah, the comment does not exist as it stands,
00:06:25
in any case for the execution of the code,
00:06:26
it is only when you
00:06:27
is in the advanced editor.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
Also, fangen wir gleich an.
00:00:01
Und wir werden in der Datei von
00:00:04
Festivals in der Festivalkartei,
00:00:06
Wir werden in der Lage sein, eine Abfrage zu erstellen
00:00:08
Kleiner Brauch, der es uns ermöglicht
00:00:09
um uns das Schreiben beizubringen.
00:00:11
Unsere erste Anfrage in M und damit
00:00:15
dafür und gut in diesen Fällen,
00:00:16
Es wird nur einen Typ geben
00:00:17
mögliche Quelle,
00:00:18
Es wird die leere Abfrage hier sein,
00:00:20
und wir gehen total, wir gehen direkt
00:00:22
Gehe zum erweiterten Editor huh,
00:00:23
um die vollständige Ansicht zu haben,
00:00:25
So wie Sie jedes Mal sehen
00:00:27
Zeiten, die es von Anfang an
00:00:29
Spielen Sie den Begriff let und den term in.
00:00:31
Der Begriff Brief weist darauf hin, dass wir
00:00:33
Starten Sie die Manipulationen und die
00:00:35
Begriff in zeigt an, dass wir abgeschlossen haben
00:00:38
die Manipulationen und deshalb werden wir
00:00:40
Zurückgeben eines bestimmten Werts
00:00:42
Für diejenigen, die ein wenig programmieren.
00:00:43
Dies ist das Äquivalent der Rendite, die wir
00:00:45
kann Funktionen haben,
00:00:47
Hier werden wir also etwas tun
00:00:48
Sehr einfache Sache.
00:00:49
Wir schreiben eine Variable, die aufgerufen wird,
00:00:53
dann komme ich zurück zu
00:00:54
Der Begriff der Variablen.
00:00:55
Denken Sie daran, dass Sie damit speichern können
00:00:58
Informationen entlang unseres Codes.
00:01:01
Und so werden wir eine Variable erstellen
00:01:03
was hier so genannt wird.
00:01:05
Das entspricht einem kleinen Text.
00:01:11
Also machen wir ziemlich einfache Dinge,
00:01:12
hä? Vorerst, und wir gehen schon
00:01:14
Versuchen Sie, diesen Wert dort zurückzugeben,
00:01:16
Hier werden wir ihn also bitten,
00:01:18
Drehen Sie etwas um und da
00:01:19
Du siehst das und das ist großartig,
00:01:20
Dass er es schon hat, beginnt für dich
00:01:22
Helfen Sie, indem Sie eine Autovervollständigung vorschlagen
00:01:24
auf den Begriff etwas.
00:01:26
Wir werden das reinbekommen.
00:01:30
Und von dort aus sehen wir, dass,
00:01:32
Nun, er hat die
00:01:35
Wert, den ich ihm andeutete, hm.
00:01:38
Hier, also bin ich seitdem weggegangen.
00:01:41
Hop, aus dem fortgeschrittenen Editor so.
00:01:44
Als Erinnerung daran, was im Sommer passiert ist
00:01:47
ermöglicht es Ihnen, hier Nachbearbeitungen zu starten,
00:01:50
Eine Variable wurde gemeldet
00:01:52
was etwas genannt wird,
00:01:53
Wir setzen das Gleichheitszeichen für ihn
00:01:55
Geben Sie an, dass Text darauf platziert wird
00:01:57
und Text oder einen anderen Wert.
00:01:59
Es wird sich zeigen, dass es andere Arten von
00:02:00
Daten und wir werden ihn plötzlich ein
00:02:03
Wert und dann nach dem in,
00:02:06
Wir werden ihm den Wert von
00:02:07
zurück, dass wir geschickt werden und dort
00:02:09
es gibt nur ein Unmögliches,
00:02:10
Das ist etwas, das erklärt wurde.
00:02:13
Sie werden sehen, dass oft in der wenn ich
00:02:17
Nimm eine Rakete, die du bereits erstellt hast.
00:02:20
Wenn ich wann gehe?
00:02:21
Der Verleger bewegte sich vorwärts.
00:02:25
Es gibt also in der Tat all das,
00:02:25
Dort, was Sie hier sehen,
00:02:26
Dies sind hier Variablen mit
00:02:29
Jedes Mal gleich und plötzlich die
00:02:31
Transformation, die wir daraus machen wollen.
00:02:33
Sie haben vielleicht bemerkt, dass
00:02:35
auf der Ebene der Nomenklatur dann,
00:02:37
Der Anfang sieht vielleicht ein bisschen so aus
00:02:38
zu dem, was ich dort gemacht habe.
00:02:39
Hier
00:02:39
Wir sehen den Begriff Quelle, aber
00:02:41
Auf der anderen Seite sehr schnell.
00:02:43
Wir werden Werte haben, die
00:02:45
Beginnen Sie mit dem Nummernzeichen und dann
00:02:47
in Klammern gesetzt sind,
00:02:49
Das ist also in dem Fall, in dem die
00:02:51
Der Name Ihrer Variablen hat
00:02:53
Leerzeichen, weil normalerweise ein
00:02:54
Variable darf keine Leerzeichen enthalten.
00:02:56
Aber in M werden wir in der Lage sein,
00:02:59
Wir werden in der Lage sein, es zu tun, und dafür
00:03:01
damit das M es verstehen kann,
00:03:03
Wir werden diese Nomenklatur dort verwenden,
00:03:05
Also werde ich in meinem Code hierher zurückkehren.
00:03:08
Dass ich das Nein gesetzt habe?
00:03:10
Also fürs Erste,
00:03:11
Ich werde es stattdessen in die Datei einfügen.
00:03:12
Andere Raketen.
00:03:14
Und wir werden es umbenennen
00:03:16
wird es Training nennen.
00:03:19
M, das war's und wir gehen zurück
00:03:23
im erweiterten Editor.
00:03:27
Und wir werden Spaß daran haben, eine
00:03:29
Andere zu meldende Bankvariablen
00:03:32
Eine neue Prozedur in Anführungszeichen.
00:03:34
Hier setzen wir ein Komma und sagen
00:03:36
dass wir etwas anderes anketten und
00:03:38
Also werden wir erklären. Eine Variable.
00:03:42
Also setzen wir den geschärften Charakter,
00:03:44
Wir öffnen die Anführungszeichen und gehen
00:03:46
Übergeben Sie den Namen so zum Beispiel hier
00:03:48
Werde wieder etwas zurückstellen.
00:03:51
Aber hier, diese Aufnahme mit einem
00:03:54
Platz und wie gut wir es gemacht haben
00:03:55
Diese Aufsichtstätigkeit
00:03:56
mit Anführungszeichen und Nummernzeichen,
00:03:58
Nun, sie gehen nicht zu uns zurück
00:03:59
des Fehlers und deshalb werden wir es dort platzieren
00:04:02
Ein weiterer Wert des Textes.
00:04:07
Von dort aus gibt es keinen Fehler und
00:04:09
Deshalb kann ich ihn jetzt bitten,
00:04:11
Ich gebe diesen Wert früher zurück.
00:04:13
So? Und sehen Sie, was passiert.
00:04:19
Das ist es also, offensichtlich,
00:04:19
sie sind noch keine Tabellen,
00:04:21
Wir trainieren nur
00:04:23
den Text zurückzugeben,
00:04:25
Aber Sie haben gesehen, wie Sie möglicherweise
00:04:27
Deklarieren Sie mehrere Variablen.
00:04:28
Wir sehen auch, dass,
00:04:30
da ich zurück zur Linie ging.
00:04:33
Ja, hier bin ich,
00:04:34
Ich setzte ein Komma, ich ging zurück,
00:04:35
Ich ging zurück zur Linie.
00:04:37
Nun, er wird bedenken, dass
00:04:39
Es war ein Schritt meiner,
00:04:41
meines Prozesses und erschaffe mich daher
00:04:42
Hier ein Schritt, wie Sie sehen,
00:04:44
Es ist also wirklich genau
00:04:46
als ob wir Menüs verwenden würden.
00:04:49
Also, wenn wir ein wenig rekapitulieren
00:04:49
was soeben gesagt wurde,
00:04:50
dass dies wirklich die Grundlage ist,
00:04:51
Man muss wirklich versuchen,
00:04:53
um das alles zu verstehen.
00:04:54
Wir haben also die Lethe, die alles eingekapselt hat
00:04:57
die an den Daten vorgenommenen Manipulationen.
00:04:59
2 der Variablen können gemeldet werden
00:05:01
Ab in 2 Formaten wann?
00:05:03
Es enthält Leerzeichen,
00:05:05
Wir müssen mit Pfund beginnen,
00:05:06
Setzen Sie dann Anführungszeichen.
00:05:07
Und wenn es keine Leerzeichen enthält,
00:05:09
Nun, wir können es direkt schreiben
00:05:11
Und dann
00:05:12
Sobald wir den Eingang erreicht haben,
00:05:14
Es gibt mehr Manipulationen, die
00:05:16
die möglich sind und deshalb wir
00:05:18
wird in der Lage sein, die
00:05:20
Begriff, den man zurückkehren möchte.
00:05:23
Wie Sie hier sehen,
00:05:24
In diesem Beispiel habe ich DES hinzugefügt,
00:05:27
Duplikate
00:05:27
Schrägstrich und der Text, hinter dem
00:05:29
wird nicht in der gleichen Farbe angezeigt.
00:05:30
Das entspricht den Kommentaren.
00:05:33
Also, wenn ich hier zu meinem Code zurückgehe.
00:05:34
Und dass ich zum fortgeschrittenen Editor zurückkehre.
00:05:38
Brunnen
00:05:38
Ich werde hier in der Lage sein, durch
00:05:40
Beispiel für einen doppelten Schrägstrich und Put
00:05:42
Ein bisschen Blabla.
00:05:44
Ein bisschen bla bla.
00:05:48
Und das tatsächlich,
00:05:49
es wird nicht ausgeführt,
00:05:49
Es sind nur Kommentare
00:05:50
um eine kleine
00:05:52
wenig die Manipulationen, die wir machen.
00:05:53
Es ist universell für alle Sprachen von,
00:05:55
Programmierung und so dass
00:05:57
Ihnen selbst helfen kann,
00:05:58
sich daran zu erinnern, was Sie
00:06:00
getan haben und warum Sie es getan haben
00:06:01
führt diese Art von Manipulation durch.
00:06:02
Es ist also schön, die
00:06:03
Reflex, um seinen Code zu kommentieren.
00:06:05
Ich das ist ein großer Fehler, den ich habe,
00:06:06
es ist, dass ich Schwierigkeiten habe, es zu tun,
00:06:08
aber ich lade Sie ein,
00:06:10
Sofort gute Gewohnheiten
00:06:12
nicht wie ich und denkt gut darüber nach
00:06:14
kommentieren Sie Ihren Code und so weiter,
00:06:16
normalerweise, wenn ich es ausführe,
00:06:17
Sie werden feststellen, dass es
00:06:19
Es gibt kein Display, hm,
00:06:20
von dem, was ich gerade getan habe,
00:06:21
huh, wie Sie hier sehen.
00:06:23
Ah, der Kommentar existiert nicht so, wie er ist,
00:06:25
in jedem Fall für die Ausführung des Codes,
00:06:26
Es ist nur, wenn Sie
00:06:27
befindet sich im erweiterten Editor.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
Entonces, comencemos de inmediato.
00:00:01
Y crearemos en el archivo de
00:00:04
festivales en el archivo del festival,
00:00:06
Podremos crear una consulta
00:00:08
poca costumbre que nos permita
00:00:09
para entrenarnos para escribir.
00:00:11
Nuestra primera petición en M y por lo tanto
00:00:15
por eso y bien en estos casos,
00:00:16
Solo habrá un tipo
00:00:17
posible fuente,
00:00:18
será la consulta vacía aquí,
00:00:20
y vamos totalmente, vamos directamente
00:00:22
Ve al editor avanzado eh,
00:00:23
para tener la visión completa,
00:00:25
Así que como ves cada vez
00:00:27
veces que pondrá desde el principio de
00:00:29
Juega el término let y el término in.
00:00:31
El término carta indica que
00:00:33
Iniciar las manipulaciones y el
00:00:35
El término en indica que hemos completado
00:00:38
las manipulaciones y por lo tanto lo haremos
00:00:40
Devolver un valor determinado
00:00:42
para aquellos que codifican un poco.
00:00:43
Este es el equivalente al retorno que tenemos
00:00:45
puede tener en funciones,
00:00:47
Así que aquí haremos algo
00:00:48
Cosa muy simple.
00:00:49
Escribiremos una variable que se llamará,
00:00:53
entonces volveré a
00:00:54
la noción de variable.
00:00:55
Solo recuerda que te permite almacenar
00:00:58
información a lo largo de nuestro código.
00:01:01
Y así vamos a crear una variable
00:01:03
que se va a llamar algo aquí.
00:01:05
Que será igual a un pequeño texto.
00:01:11
Así que hacemos cosas bastante simples,
00:01:12
¿eh? Por ahora, y ya vamos
00:01:14
intente devolver este valor allí,
00:01:16
Así que aquí le pediremos que
00:01:18
voltear algo y allí
00:01:19
Ves eso y eso es genial,
00:01:20
que él lo tiene ya comienza a ti
00:01:22
Ayuda proponiendo un autocompletado
00:01:24
sobre el término algo.
00:01:26
Vamos a conseguir eso.
00:01:30
Y a partir de ahí, vemos que,
00:01:32
Bueno, él devolvió el
00:01:35
valor que le indiqué, eh.
00:01:38
Aquí, así que me he ido desde entonces.
00:01:41
Hop, desde el editor avanzado así.
00:01:44
Como recordatorio de lo que sucedió en el verano
00:01:47
le permite iniciar reprocesos aquí,
00:01:50
Se informó una variable
00:01:52
que se llama algo,
00:01:53
Le ponemos el signo igual
00:01:55
indicar que se colocará texto en él
00:01:57
y texto o cualquier otro valor.
00:01:59
Se verá que hay otros tipos de
00:02:00
datos y le colocaremos de repente un
00:02:03
valor y luego a después de la entrada,
00:02:06
Le diremos el valor de
00:02:07
De vuelta que nos envían y allí
00:02:09
sólo hay un imposible,
00:02:10
Eso es algo, el que se ha declarado.
00:02:13
Verás que a menudo en el si yo
00:02:17
Toma un cohete que ya has creado.
00:02:20
Si voy, ¿cuándo?
00:02:21
El editor estaba avanzando.
00:02:25
Así que, de hecho, hay todo eso,
00:02:25
allí, lo que ves aquí,
00:02:26
Estas son variables aquí con
00:02:29
cada vez igual y de repente el
00:02:31
transformación que queremos hacer de ella.
00:02:33
Es posible que haya notado que
00:02:35
A nivel de nomenclatura entonces,
00:02:37
El comienzo puede parecerse un poco a
00:02:38
a lo que hice allí.
00:02:39
Aquí
00:02:39
Vemos el término fuente pero
00:02:41
por otro lado muy rápidamente.
00:02:43
Tendremos valores que
00:02:45
Comience con el signo de libra y luego
00:02:47
se ponen entre paréntesis,
00:02:49
Así que eso es en el caso en que el
00:02:51
El nombre de la variable tiene
00:02:53
espacios porque normalmente un
00:02:54
variable no puede contener espacios.
00:02:56
Pero en M seremos capaces de,
00:02:59
Podremos hacerlo y por eso,
00:03:01
para que la M pueda entenderlo,
00:03:03
Usaremos esta nomenclatura allí,
00:03:05
Así que voy a volver aquí en mi código.
00:03:08
¿Que coloqué el no?
00:03:10
Así que por ahora,
00:03:11
Lo pondré en el archivo en su lugar.
00:03:12
Otros cohetes.
00:03:14
Y vamos a cambiarle el nombre
00:03:16
lo llamaremos entrenamiento.
00:03:19
M, Eso es todo y volveremos
00:03:23
en el editor avanzado.
00:03:27
Y nos vamos a divertir declarando un
00:03:29
Otra variable bancaria a reportar
00:03:32
Un nuevo procedimiento entre comillas.
00:03:34
Aquí pondremos una coma y diremos
00:03:36
que encadenamos otra cosa y
00:03:38
Así que vamos a declarar. Una variable.
00:03:42
Así que ponemos el carácter afilado,
00:03:44
Abrimos las comillas y listo.
00:03:46
pasar el nombre así que por ejemplo aquí
00:03:48
Volverá a poner algo.
00:03:51
Pero aquí, esta toma con un
00:03:54
Espacio y lo bien que lo hicimos
00:03:55
Este trabajo de supervisión
00:03:56
con comillas y signo de almohadilla,
00:03:58
Bueno, no vuelven a nosotros
00:03:59
de error y por lo tanto ahí lo colocaremos
00:04:02
Otro valor del texto.
00:04:07
A partir de ahí, no hay error y
00:04:09
Así que ahora puedo pedirle que
00:04:11
Devuelvo este valor antes.
00:04:13
¿Así? Y a ver qué pasa.
00:04:19
Así que eso es todo, obviamente,
00:04:19
todavía no son mesas,
00:04:21
Solo estamos entrenando
00:04:23
volver, eh, del texto,
00:04:25
Pero has visto cómo, potencialmente,
00:04:27
Declare varias variables.
00:04:28
También vemos que,
00:04:30
desde que volví a la línea.
00:04:33
Sí, aquí estoy,
00:04:34
Puse una coma, volví,
00:04:35
Volví a la línea.
00:04:37
Bueno, él considerará que
00:04:39
Fue un paso de mi,
00:04:41
de mi proceso y por lo tanto crearme
00:04:42
Aquí un paso como ves,
00:04:44
Así que es realmente exactamente
00:04:46
como si estuviéramos usando menús.
00:04:49
Así que si recapitulamos un poco
00:04:49
lo que se acaba de decir,
00:04:50
que esta es realmente la base,
00:04:51
Realmente tienes que tratar de
00:04:53
para entender todo eso.
00:04:54
Así que tenemos el torno que encapsuló todo
00:04:57
las manipulaciones realizadas en los datos.
00:04:59
2 de las variables pueden ser reportadas
00:05:01
Desde en 2 formatos ¿cuándo?
00:05:03
Contiene espacios,
00:05:05
Tendremos que empezar con libra,
00:05:06
Luego ponga comillas.
00:05:07
Y si no contiene espacios,
00:05:09
bueno podemos escribirlo directamente
00:05:11
Y entonces
00:05:12
Una vez que llegamos a la entrada,
00:05:14
Hay más manipulación que son
00:05:16
que son posibles y por lo tanto
00:05:18
podrá agregar el
00:05:20
plazo que uno desea devolver.
00:05:23
Entonces, como ves aquí,
00:05:24
En este ejemplo agregué DES,
00:05:27
Duplicados
00:05:27
barra diagonal y el texto detrás del cual
00:05:29
no se muestra en el mismo color.
00:05:30
Eso corresponde a los comentarios.
00:05:33
Así que si vuelvo aquí a mi código.
00:05:34
Y que vuelvo al editor avanzado.
00:05:38
Pozo
00:05:38
Voy a ser capaz de poner aquí por
00:05:40
Ejemplo una barra doble y poner
00:05:42
Un poco de bla.
00:05:44
Un poco de bla, bla.
00:05:48
Y que en realidad,
00:05:49
no se ejecutará,
00:05:49
son solo comentarios
00:05:50
para poder explicar un pequeño
00:05:52
poco las manipulaciones que hacemos.
00:05:53
Es universal a todos los idiomas de,
00:05:55
programación y para que
00:05:57
puede ayudarle usted mismo,
00:05:58
para recordar lo que usted
00:06:00
lo has hecho y por qué lo has hecho
00:06:01
hace este tipo de manipulación.
00:06:02
Así que es bueno tener el
00:06:03
reflejo para comentar su código.
00:06:05
Si este es un gran defecto que tengo,
00:06:06
es que estoy luchando por hacerlo,
00:06:08
pero te invito a tomar
00:06:10
Enseguida buenos hábitos
00:06:12
no me gusta y pensando bien
00:06:14
comenta sobre tu código y así está,
00:06:16
normalmente si lo ejecuto,
00:06:17
Te darás cuenta de que
00:06:19
No hay pantalla, eh,
00:06:20
de lo que acabo de hacer,
00:06:21
Eh, como ves aquí.
00:06:23
Ah, el comentario no existe tal como está,
00:06:25
en cualquier caso para la ejecución del código,
00:06:26
Es sólo cuando usted
00:06:27
está en el editor avanzado.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
Laten we dus meteen beginnen.
00:00:01
En we zullen creëren in het bestand van
00:00:04
festivals in het festivaldossier,
00:00:06
We kunnen een query maken
00:00:08
weinig maatwerk dat ons in staat stelt
00:00:09
om ons te trainen om te schrijven.
00:00:11
Ons eerste verzoek in M en daarom
00:00:15
daarvoor en goed in deze gevallen,
00:00:16
er zal slechts één type zijn
00:00:17
mogelijke bron,
00:00:18
het zal de lege vraag hier zijn,
00:00:20
en we gaan helemaal, we gaan direct
00:00:22
Ga naar de geavanceerde editor he,
00:00:23
om het volledige beeld te hebben,
00:00:25
Dus zoals je elke keer ziet
00:00:27
tijden die het vanaf het begin zal zetten
00:00:29
Speel de term let en de term in.
00:00:31
De term brief geeft aan dat we
00:00:33
Start de manipulaties en de
00:00:35
term in geeft aan dat we hebben voltooid
00:00:38
de manipulaties en daarom zullen we
00:00:40
Een bepaalde waarde retourneren
00:00:42
voor degenen die een beetje coderen.
00:00:43
Dit is het equivalent van rendement dat we
00:00:45
kan in functies hebben,
00:00:47
Dus hier gaan we iets doen
00:00:48
Heel simpel.
00:00:49
We zullen een variabele schrijven die zal worden aangeroepen,
00:00:53
dan kom ik terug op
00:00:54
het begrip variabel.
00:00:55
Vergeet niet dat u hiermee kunt opslaan
00:00:58
informatie langs onze code.
00:01:01
En dus gaan we een variabele maken.
00:01:03
dat gaat hier iets heten.
00:01:05
Dat zal gelijk zijn aan een beetje tekst.
00:01:11
Dus we doen vrij eenvoudige dingen,
00:01:12
hè? Voor nu, en we gaan al
00:01:14
probeer deze waarde daar terug te geven,
00:01:16
Dus hier zullen we hem vragen om
00:01:18
draai iets om en daar
00:01:19
Dat zie je en dat is geweldig,
00:01:20
dat hij het heeft begint al aan jou
00:01:22
Help door een automatische aanvulling voor te stellen
00:01:24
op de term iets.
00:01:26
Dat gaan we erin krijgen.
00:01:30
En van daaruit zien we dat,
00:01:32
Nou, hij heeft de
00:01:35
waarde die ik hem aangaf, hè.
00:01:38
Hier ben ik dus sindsdien weggegaan.
00:01:41
Hop, van de geavanceerde editor dus.
00:01:44
Ter herinnering aan wat er in de zomer is gebeurd
00:01:47
hiermee kunt u hier beginnen met het verwerken van processen,
00:01:50
er is een variabele gerapporteerd
00:01:52
die zoiets heet,
00:01:53
We zetten het gelijke teken voor hem
00:01:55
geef aan dat er tekst op komt te staan
00:01:57
en tekst of een andere waarde.
00:01:59
Het zal blijken dat er andere soorten
00:02:00
gegevens en we zullen hem plotseling een
00:02:03
waarde en dan naar na de in,
00:02:06
We zullen hem de waarde van
00:02:07
terug dat we worden gestuurd en daar
00:02:09
er is maar één onmogelijke,
00:02:10
Dat is iets, het is dat is verklaard.
00:02:13
Dat zie je vaak in de als ik
00:02:17
Neem een raket die je al hebt gemaakt.
00:02:20
Als ik ga wanneer?
00:02:21
De uitgever ging vooruit.
00:02:25
Dus daar is in feite dat allemaal,
00:02:25
daar, wat je hier ziet,
00:02:26
Dit zijn variabelen hier met
00:02:29
elke keer gelijk en plotseling de
00:02:31
transformatie die we ervan willen maken.
00:02:33
Het is je misschien opgevallen dat
00:02:35
op het niveau van de nomenclatuur dan,
00:02:37
Het begin lijkt misschien een beetje op
00:02:38
naar wat ik daar deed.
00:02:39
Hier
00:02:39
We zien de term bron maar
00:02:41
aan de andere kant heel snel.
00:02:43
We zullen waarden hebben die
00:02:45
begin met het pondteken en dan
00:02:47
tussen haakjes worden geplaatst,
00:02:49
Dus dat is in het geval dat de
00:02:51
Naam van uw variabele heeft
00:02:53
ruimten omdat normaal gesproken een
00:02:54
variabele mag geen spaties bevatten.
00:02:56
Maar in M zullen we in staat zijn om,
00:02:59
We zullen het kunnen doen en dus daarvoor,
00:03:01
zodat de M het kan begrijpen,
00:03:03
We zullen deze nomenclatuur daar gebruiken,
00:03:05
Dus ik ga hier terug in mijn code.
00:03:08
Dat ik het nee heb geplaatst?
00:03:10
Dus voor nu,
00:03:11
Ik zal het in plaats daarvan in het dossier zetten.
00:03:12
Andere raketten.
00:03:14
En we gaan het hernoemen
00:03:16
zal het training noemen.
00:03:19
M, Dat is het en we gaan terug
00:03:23
in de geavanceerde editor.
00:03:27
En we gaan plezier beleven aan het verklaren van een
00:03:29
Andere bankvariabele om te rapporteren
00:03:32
Een nieuwe procedure tussen aanhalingstekens.
00:03:34
Hier zullen we een komma plaatsen en zeggen
00:03:36
dat we ons aan iets anders vastketenen en
00:03:38
Dus we gaan verklaren. Een variabele.
00:03:42
Dus zetten we het aangescherpte karakter,
00:03:44
we openen de aanhalingstekens en we gaan
00:03:46
geef de naam door dus bijvoorbeeld hier
00:03:48
zal weer iets terugzetten.
00:03:51
Maar hier, deze foto met een
00:03:54
ruimte en hoe goed we het deden
00:03:55
Dit toezichtswerk
00:03:56
met aanhalingstekens en pondtekens,
00:03:58
Nou, ze gaan niet terug naar ons
00:03:59
van fout en daarom zullen we het daar plaatsen
00:04:02
Een andere waarde van de tekst.
00:04:07
Vanaf daar is er geen fout en
00:04:09
Dus ik kan hem nu vragen om
00:04:11
Ik geef deze waarde eerder terug.
00:04:13
Dus? En kijk wat er gebeurt.
00:04:19
Dus dat is het, uiteraard,
00:04:19
het zijn nog geen tafels,
00:04:21
We zijn gewoon aan het trainen
00:04:23
om terug te keren, eh, van de tekst,
00:04:25
Maar je hebt gezien hoe, potentieel,
00:04:27
meerdere variabelen declareren.
00:04:28
We zien ook dat,
00:04:30
sinds ik terugging naar de lijn.
00:04:33
Ja, hier ben ik,
00:04:34
Ik zette een komma, ik ging terug,
00:04:35
Ik ging terug naar de lijn.
00:04:37
Welnu, hij zal dat overwegen
00:04:39
Het was een stap van mijn,
00:04:41
van mijn proces en daardoor mij creëren
00:04:42
hier een stap zoals je ziet,
00:04:44
Het is dus echt precies
00:04:46
alsof we menu's gebruiken.
00:04:49
Dus als we een beetje samenvatten
00:04:49
wat zojuist is gezegd,
00:04:50
dat dit echt de basis is,
00:04:51
Je moet echt proberen om
00:04:53
om dat allemaal te begrijpen.
00:04:54
We hebben dus de lethe die alles inkapselde.
00:04:57
de manipulaties die op de gegevens worden uitgevoerd.
00:04:59
2 van de variabelen kunnen worden gerapporteerd
00:05:01
Vanaf in 2 formaten wanneer?
00:05:03
Het bevat spaties,
00:05:05
We zullen moeten beginnen met pond,
00:05:06
zet dan aanhalingstekens.
00:05:07
En als het geen spaties bevat,
00:05:09
nou we kunnen het direct schrijven
00:05:11
en dan,
00:05:12
Zodra we de binnenkant bereiken,
00:05:14
Er is meer manipulatie die
00:05:16
welke mogelijk zijn en daarom wij
00:05:18
zal in staat zijn om de
00:05:20
term die men wenst terug te geven.
00:05:23
Dus zoals je hier ziet,
00:05:24
In dit voorbeeld heb ik DES toegevoegd,
00:05:27
Duplicaten
00:05:27
schuine streep en de tekst waarachter
00:05:29
wordt niet in dezelfde kleur weergegeven.
00:05:30
Dat komt overeen met de opmerkingen.
00:05:33
Dus als ik hier terug ga naar mijn code.
00:05:34
En dat ik terugga naar de geavanceerde editor.
00:05:38
Goed
00:05:38
Ik zal in staat zijn om hier te plaatsen door
00:05:40
voorbeeld een dubbele schuine streep en zet
00:05:42
Een beetje blabla.
00:05:44
Een beetje bla bla.
00:05:48
En dat eigenlijk,
00:05:49
het zal niet worden uitgevoerd,
00:05:49
het zijn alleen maar reacties
00:05:50
om een kleine
00:05:52
weinig van de manipulaties die we doen.
00:05:53
Het is universeel voor alle talen van,
00:05:55
programmeren en zo dat
00:05:57
kan u zelf helpen,
00:05:58
om te onthouden wat je
00:06:00
heb gedaan en waarom je
00:06:01
doet dit soort manipulatie.
00:06:02
Dus het is leuk om de
00:06:03
reflex om commentaar te geven op zijn code.
00:06:05
Ik dit is een groot gebrek dat ik heb,
00:06:06
het is dat ik er moeite mee heb,
00:06:08
maar ik nodig u uit om
00:06:10
Meteen goede gewoontes
00:06:12
niet zoals ik en denkend aan goed
00:06:14
commentaar op uw code en dus daar,
00:06:16
meestal als ik het uitvoer,
00:06:17
Je zult je realiseren dat het
00:06:19
Er is geen display, hè,
00:06:20
van wat ik zojuist heb gedaan,
00:06:21
huh, zoals je hier ziet.
00:06:23
Ach, de opmerking bestaat niet zoals hij nu is,
00:06:25
in ieder geval voor de uitvoering van de code,
00:06:26
het is alleen wanneer je
00:06:27
bevindt zich in de geavanceerde editor.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
Então, vamos começar imediatamente.
00:00:01
E vamos criar no arquivo de
00:00:04
festivais no arquivo do festival,
00:00:06
Poderemos criar uma consulta a
00:00:08
pouco costume que nos permitirá
00:00:09
para nos treinar a escrever.
00:00:11
Nosso primeiro pedido em M e, portanto,
00:00:15
para isso e bem nestes casos,
00:00:16
haverá apenas um tipo
00:00:17
possível fonte,
00:00:18
será a consulta vazia aqui,
00:00:20
e nós vamos totalmente, nós vamos diretamente
00:00:22
Vá para o editor avançado hein,
00:00:23
para ter a visão completa,
00:00:25
Então, como você vê todas as vezes
00:00:27
vezes que colocará desde o início de
00:00:29
Reproduza o termo let e o term in.
00:00:31
O termo letra indica que vamos
00:00:33
Inicie as manipulações e o
00:00:35
termo em indica que concluímos
00:00:38
as manipulações e, portanto, vamos
00:00:40
Retornar um valor específico
00:00:42
para quem codifica um pouco.
00:00:43
Isso é o equivalente ao retorno que nós
00:00:45
pode ter em funções,
00:00:47
Então, aqui vamos fazer algo
00:00:48
Coisa muito simples.
00:00:49
Escreveremos uma variável que será chamada,
00:00:53
então voltarei a
00:00:54
a noção de variável.
00:00:55
Apenas lembre-se de que ele permite que você armazene
00:00:58
informações ao longo do nosso código.
00:01:01
E então vamos criar uma variável
00:01:03
que vai ser chamado de algo aqui.
00:01:05
O que será igual a um pequeno texto.
00:01:11
Então nós fazemos coisas bem simples,
00:01:12
hem? Por enquanto, e já vamos
00:01:14
tente retornar esse valor lá,
00:01:16
Então, aqui vamos pedir-lhe para
00:01:18
virar algo e lá
00:01:19
Você vê isso e isso é ótimo,
00:01:20
que ele já tem começa a você
00:01:22
Ajude propondo um preenchimento automático
00:01:24
no termo algo.
00:01:26
Nós vamos conseguir isso.
00:01:30
E a partir daí, vemos que,
00:01:32
Bem, ele devolveu o
00:01:35
valor que indiquei para ele, hein.
00:01:38
Aqui, então eu tenho saído desde então.
00:01:41
Hop, do editor avançado assim.
00:01:44
Como um lembrete do que aconteceu no verão
00:01:47
permite que você inicie reprocessos aqui,
00:01:50
uma variável foi relatada
00:01:52
que é chamado de algo,
00:01:53
Colocamos o sinal de igualdade para ele
00:01:55
indicar que o texto será colocado nele
00:01:57
e texto ou qualquer outro valor.
00:01:59
Veremos que existem outros tipos de
00:02:00
dados e vamos colocá-lo de repente um
00:02:03
valor e, em seguida, para depois do in,
00:02:06
Vamos dizer-lhe o valor de
00:02:07
de volta que somos enviados e lá
00:02:09
há apenas um impossível,
00:02:10
Isso é alguma coisa, a que foi declarada.
00:02:13
Você vai ver isso muitas vezes no se eu
00:02:17
Pegue um foguete que você já criou.
00:02:20
Se eu for quando?
00:02:21
A editora estava avançando.
00:02:25
Então, de fato, há tudo isso,
00:02:25
lá, o que você vê aqui,
00:02:26
Estas são variáveis aqui com
00:02:29
cada vez igual e de repente o
00:02:31
transformação que queremos fazer dela.
00:02:33
Você deve ter notado que
00:02:35
ao nível da nomenclatura, então,
00:02:37
O começo pode parecer um pouco como
00:02:38
ao que fiz lá.
00:02:39
Aqui
00:02:39
Vemos o termo fonte, mas
00:02:41
por outro lado, muito rapidamente.
00:02:43
Teremos valores que
00:02:45
comece com o sinal de libra e, em seguida,
00:02:47
são colocados entre parênteses,
00:02:49
Então, é no caso em que o
00:02:51
Nome da sua variável tem
00:02:53
espaços porque normalmente um
00:02:54
variável não pode conter espaços.
00:02:56
Mas em M seremos capazes de,
00:02:59
Seremos capazes de fazê-lo e, portanto, para isso,
00:03:01
para que o M possa compreendê-lo,
00:03:03
Vamos usar essa nomenclatura lá,
00:03:05
Então eu vou voltar aqui no meu código.
00:03:08
Que eu coloquei o não?
00:03:10
Então, por enquanto,
00:03:11
Vou colocá-lo no arquivo em vez disso.
00:03:12
Outros foguetes.
00:03:14
E vamos renomeá-lo
00:03:16
vai chamá-lo de treinamento.
00:03:19
M, é isso e vamos voltar
00:03:23
no editor avançado.
00:03:27
E vamos nos divertir declarando um
00:03:29
Outra variável bancária a ser relatada
00:03:32
Um novo procedimento entre aspas.
00:03:34
Aqui vamos colocar uma vírgula e dizer
00:03:36
que acorrentamos outra coisa e
00:03:38
Então nós vamos declarar. Uma variável.
00:03:42
Então colocamos o caráter aguçado,
00:03:44
abrimos as aspas e vamos
00:03:46
passar o nome assim, por exemplo, aqui nós
00:03:48
vai colocar algo de volta.
00:03:51
Mas aqui, este tiro com um
00:03:54
espaço e quão bem nos saímos
00:03:55
Este trabalho de supervisão
00:03:56
com aspas e sinal de libra,
00:03:58
Bem, eles não voltam para nós
00:03:59
de erro e, portanto, lá vamos colocá-lo
00:04:02
Outro valor do texto.
00:04:07
A partir daí, não há erro e
00:04:09
Por isso, posso agora pedir-lhe que
00:04:11
Devolvo esse valor mais cedo.
00:04:13
Assim? E veja o que acontece.
00:04:19
Então é isso, obviamente,
00:04:19
ainda não são tabelas,
00:04:21
Estamos apenas treinando
00:04:23
para retornar, hein, do texto,
00:04:25
Mas você viu como, potencialmente,
00:04:27
declarar múltiplas variáveis.
00:04:28
Vemos também que,
00:04:30
desde que voltei para a linha.
00:04:33
Sim, aqui estou,
00:04:34
Coloquei uma vírgula, voltei,
00:04:35
Voltei para a linha.
00:04:37
Bem, ele vai considerar que
00:04:39
Foi um passo meu,
00:04:41
do meu processo e, portanto, crie-me
00:04:42
aqui um passo como você vê,
00:04:44
Então é realmente exatamente
00:04:46
como se estivéssemos usando menus.
00:04:49
Então, se recapitularmos um pouco
00:04:49
o que acaba de ser dito,
00:04:50
que esta é realmente a base,
00:04:51
Você realmente tem que tentar
00:04:53
para entender hein tudo isso.
00:04:54
Então temos o lethe que encapsulava todos
00:04:57
as manipulações realizadas nos dados.
00:04:59
2 das variáveis podem ser relatadas
00:05:01
De em 2 formatos quando?
00:05:03
Contém espaços,
00:05:05
Teremos que começar com libra,
00:05:06
em seguida, coloque aspas.
00:05:07
E se não contiver espaços,
00:05:09
bem, podemos escrevê-lo diretamente
00:05:11
e então,
00:05:12
Uma vez que chegamos à entrada,
00:05:14
Há mais manipulação que são
00:05:16
que são possíveis e, portanto, nós
00:05:18
será capaz de adicionar o
00:05:20
termo que se deseja retornar.
00:05:23
Então, como você vê aqui,
00:05:24
Neste exemplo, adicionei DES,
00:05:27
Duplicatas
00:05:27
barra e o texto por trás do qual
00:05:29
não é exibido na mesma cor.
00:05:30
Isso corresponde aos comentários.
00:05:33
Então, se eu voltar aqui para o meu código.
00:05:34
E que eu volte para o editor avançado.
00:05:38
Poço
00:05:38
Vou ser capaz de colocar aqui por
00:05:40
exemplo de uma barra dupla e colocar
00:05:42
Um pouco de blá.
00:05:44
Um pouco de blá blá blá.
00:05:48
E que, na verdade,
00:05:49
não será executado,
00:05:49
são apenas comentários
00:05:50
para ser capaz de explicar um pequeno
00:05:52
pouco as manipulações que fazemos.
00:05:53
É universal para todas as línguas de,
00:05:55
programação e para que
00:05:57
pode ajudá-lo a si mesmo,
00:05:58
para lembrar o que você
00:06:00
fez e por que você tem
00:06:01
faz esse tipo de manipulação.
00:06:02
Então é bom ter o
00:06:03
reflexo para comentar sobre seu código.
00:06:05
Eu este é um grande defeito que eu tenho,
00:06:06
é que eu estou lutando para fazê-lo,
00:06:08
mas eu convido você a tomar
00:06:10
Imediatamente bons hábitos
00:06:12
não gosto de mim e pensando bem
00:06:14
comente sobre o seu código e assim por diante,
00:06:16
normalmente, se eu executá-lo,
00:06:17
Você vai perceber que ele
00:06:19
Não tem exibição, hein,
00:06:20
do que acabei de fazer,
00:06:21
hein, como você vê aqui.
00:06:23
Ah, o comentário não existe como está,
00:06:25
em qualquer caso, para a execução do código,
00:06:26
é somente quando você
00:06:27
está no editor avançado.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
Zacznijmy od razu.
00:00:01
A my stworzymy w pliku
00:00:04
festiwale w pliku festiwalowym,
00:00:06
Będziemy mogli utworzyć zapytanie
00:00:08
Mały zwyczaj, który nam pozwoli
00:00:09
aby nauczyć nas pisać.
00:00:11
Nasza pierwsza prośba w M, a zatem
00:00:15
do tego i dobrze w tych przypadkach,
00:00:16
Będzie tylko jeden typ
00:00:17
możliwe źródło,
00:00:18
będzie to puste zapytanie tutaj,
00:00:20
I idziemy całkowicie, idziemy bezpośrednio
00:00:22
Przejdź do zaawansowanego edytora huh,
00:00:23
mieć pełny widok,
00:00:25
Tak jak widzisz za każdym razem
00:00:27
Czasy, które odłoży od samego początku
00:00:29
Odtwórz termin let i termin w.
00:00:31
List terminowy wskazuje, że będziemy
00:00:33
Rozpocznij manipulacje i
00:00:35
Termin w oznacza, że zakończyliśmy
00:00:38
manipulacje i dlatego będziemy
00:00:40
Zwracanie określonej wartości
00:00:42
Dla tych, którzy trochę kodują.
00:00:43
Jest to odpowiednik zwrotu, który my
00:00:45
może mieć funkcje,
00:00:47
Więc tutaj coś zrobimy
00:00:48
Bardzo prosta sprawa.
00:00:49
Napiszemy zmienną, która zostanie wywołana,
00:00:53
potem wrócę do
00:00:54
pojęcie zmiennej.
00:00:55
Pamiętaj tylko, że pozwala na przechowywanie
00:00:58
informacje zgodnie z naszym kodem.
00:01:01
Utworzymy zmienną
00:01:03
co będzie się tutaj jakoś nazywać.
00:01:05
Co będzie równe małemu tekstowi.
00:01:11
Więc robimy dość proste rzeczy,
00:01:12
Prawda? Na razie i już idziemy
00:01:14
spróbuj zwrócić tę wartość tam,
00:01:16
Więc tutaj poprosimy go o
00:01:18
odwróć coś tam i tam
00:01:19
Widzisz to i to jest świetne,
00:01:20
że On już to ma, zaczyna się dla ciebie
00:01:22
Pomóż, proponując automatyczne uzupełnianie
00:01:24
na określenie czegoś.
00:01:26
Zamierzamy to wprowadzić.
00:01:30
I stamtąd widzimy, że,
00:01:32
Cóż, zwrócił
00:01:35
Wskazałem mu wartość, huh.
00:01:38
Tutaj, więc od tamtej pory wyjeżdżam.
00:01:41
Hop, z zaawansowanego edytora tak.
00:01:44
Przypomnijmy, co wydarzyło się latem
00:01:47
pozwala na rozpoczęcie ponownego przetwarzania tutaj,
00:01:50
Zgłoszono zmienną
00:01:52
co się nazywa czymś,
00:01:53
Stawiamy mu znak równości
00:01:55
wskazać, że tekst zostanie na nim umieszczony
00:01:57
i tekst lub dowolną inną wartość.
00:01:59
Widać, że istnieją inne rodzaje
00:02:00
danych i umieścimy go nagle
00:02:03
wartość, a następnie po wejściu,
00:02:06
Powiemy mu o wartości
00:02:07
z powrotem, że jesteśmy wysłani i tam
00:02:09
jest tylko jedno niemożliwe,
00:02:10
To jest coś, co zostało zadeklarowane.
00:02:13
Zobaczysz, że często w If I
00:02:17
Weź rakietę, którą już stworzyłeś.
00:02:20
Jeśli pójdę, kiedy?
00:02:21
Wydawca szedł do przodu.
00:02:25
Więc tak naprawdę to wszystko,
00:02:25
tam, co widzisz tutaj,
00:02:26
Są to zmienne tutaj z
00:02:29
za każdym razem równe i nagle
00:02:31
transformacji, którą chcemy z tego zrobić.
00:02:33
Być może zauważyłeś, że
00:02:35
na poziomie nomenklatury wówczas,
00:02:37
Początek może wyglądać trochę tak:
00:02:38
do tego, co tam zrobiłem.
00:02:39
Tu
00:02:39
Widzimy termin źródło, ale
00:02:41
Z drugiej strony bardzo szybko.
00:02:43
Będziemy mieli wartości, które
00:02:45
Zacznij od znaku funta, a następnie
00:02:47
są umieszczone w nawiasach,
00:02:49
Tak jest w przypadku, gdy
00:02:51
Nazwa zmiennej ma
00:02:53
spacje, ponieważ normalnie
00:02:54
Zmienna nie może zawierać spacji.
00:02:56
Ale w M będziemy mogli,
00:02:59
Będziemy w stanie to zrobić i tak za to,
00:03:01
aby M mógł to zrozumieć,
00:03:03
Będziemy tam używać tej nomenklatury,
00:03:05
Wrócę tu w moim kodzie.
00:03:08
Że umieściłem nie?
00:03:10
Więc na razie,
00:03:11
Zamiast tego umieszczę go w pliku.
00:03:12
Inne rakiety.
00:03:14
Zmienimy jego nazwę
00:03:16
Nazwijmy to szkoleniem.
00:03:19
M, to wszystko i wrócimy
00:03:23
w edytorze zaawansowanym.
00:03:27
I będziemy się dobrze bawić deklarując
00:03:29
Inna zmienna bankowa do raportowania
00:03:32
Nowa procedura ujęta w cudzysłów.
00:03:34
Tutaj postawimy przecinek i powiemy
00:03:36
że przykuwamy się do czegoś innego i
00:03:38
Więc zadeklarujemy. Zmienna.
00:03:42
Więc umieszczamy zaostrzony charakter,
00:03:44
Otwieramy cudzysłowy i idziemy
00:03:46
przekazać nazwę, więc na przykład tutaj mamy
00:03:48
włoży coś z powrotem.
00:03:51
Ale tutaj, to ujęcie z
00:03:54
kosmos i jak dobrze nam poszło
00:03:55
Ta praca nadzorcza
00:03:56
w cudzysłowie i znaku funta,
00:03:58
Cóż, nie wracają do nas
00:03:59
błędu i dlatego tam go umieścimy
00:04:02
Inna wartość tekstu.
00:04:07
Stamtąd nie ma błędu i
00:04:09
Mogę go teraz poprosić o
00:04:11
Zwracam tę wartość wcześniej.
00:04:13
Więc? Zobacz, co się stanie.
00:04:19
To wszystko, oczywiście,
00:04:19
nie są to jeszcze stoły,
00:04:21
Po prostu trenujemy
00:04:23
aby zwrócić, eh, z tekstu,
00:04:25
Ale widzieliście, jak potencjalnie,
00:04:27
zadeklaruj wiele zmiennych.
00:04:28
Widzimy również, że
00:04:30
odkąd wróciłem do linii.
00:04:33
Tak, oto jestem,
00:04:34
Postawiłem przecinek, wróciłem,
00:04:35
Wróciłem do linii.
00:04:37
Cóż, weźmie to pod uwagę
00:04:39
To był mój krok,
00:04:41
mojego procesu i dlatego stwórz mnie
00:04:42
tutaj krok, jak widzisz,
00:04:44
Więc to jest naprawdę dokładnie
00:04:46
Jakbyśmy korzystali z menu.
00:04:49
Więc jeśli podsumujemy trochę
00:04:49
to, co właśnie zostało powiedziane,
00:04:50
że to jest naprawdę podstawa,
00:04:51
Naprawdę musisz spróbować
00:04:53
zrozumieć to wszystko.
00:04:54
Mamy więc lethe, który zamknął wszystko
00:04:57
manipulacje wykonywane na danych.
00:04:59
2 zmienne można zgłaszać
00:05:01
Z 2 formatów kiedy?
00:05:03
Zawiera spacje,
00:05:05
Będziemy musieli zacząć od funta,
00:05:06
Następnie umieść znaki cudzysłowu.
00:05:07
A jeśli nie zawiera spacji,
00:05:09
Cóż, możemy napisać to bezpośrednio
00:05:11
a potem,
00:05:12
Gdy dotrzemy do środka,
00:05:14
Jest więcej manipulacji, które są
00:05:16
które są możliwe i dlatego my
00:05:18
będzie mógł dodać
00:05:20
termin, do którego chce się wrócić.
00:05:23
Jak widać tutaj,
00:05:24
W tym przykładzie dodałem DES,
00:05:27
Duplikaty
00:05:27
ukośnik i tekst, za którym
00:05:29
nie jest wyświetlany w tym samym kolorze.
00:05:30
Odpowiada to uwagom.
00:05:33
Więc jeśli wrócę tutaj do mojego kodu.
00:05:34
I że wracam do zaawansowanego edytora.
00:05:38
Studnia
00:05:38
Będę mógł umieścić tutaj przez
00:05:40
Przykład podwójnego ukośnika i umieść
00:05:42
Trochę bla.
00:05:44
Trochę bla bla.
00:05:48
I że faktycznie,
00:05:49
nie zostanie wykonany,
00:05:49
to tylko komentarze
00:05:50
aby móc wyjaśnić małe
00:05:52
Mało manipulacji, które robimy.
00:05:53
Jest uniwersalny dla wszystkich języków,
00:05:55
programowanie i tak, że
00:05:57
może pomóc samemu,
00:05:58
aby pamiętać, co ty
00:06:00
zrobiłeś i dlaczego masz
00:06:01
Czy tego typu manipulacje.
00:06:02
Więc miło jest mieć
00:06:03
odruch komentowania swojego kodu.
00:06:05
I to jest wielka wada, którą mam,
00:06:06
chodzi o to, że walczę, aby to zrobić,
00:06:08
ale zapraszam do wzięcia
00:06:10
Od razu dobre nawyki
00:06:12
nie tak jak ja i dobrze myślę o
00:06:14
skomentuj swój kod i tak tam,
00:06:16
zazwyczaj, jeśli go uruchomię,
00:06:17
Zdasz sobie sprawę, że
00:06:19
Nie ma wyświetlacza, huh,
00:06:20
tego, co właśnie uczyniłem,
00:06:21
Huh, jak widać tutaj.
00:06:23
Ach, komentarz nie istnieje w obecnej formie,
00:06:25
w każdym przypadku w celu wykonania kodu,
00:06:26
To tylko wtedy, gdy
00:06:27
znajduje się w edytorze zaawansowanym.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
तो, चलो तुरंत शुरू करते हैं।
00:00:01
और हम किसकी फाइल में बनाएंगे?
00:00:04
त्योहार फाइल में त्योहार,
00:00:06
हम एक क्वेरी बनाने में सक्षम होंगे
00:00:08
छोटा रिवाज जो हमें अनुमति देगा
00:00:09
हमें लिखने के लिए प्रशिक्षित करें।
00:00:11
M में हमारा पहला अनुरोध और इसलिए
00:00:15
इसके लिए और इन मामलों में अच्छी तरह से,
00:00:16
केवल एक प्रकार होगा
00:00:17
संभावित स्रोत,
00:00:18
यह यहाँ खाली क्वेरी होगी,
00:00:20
और हम पूरी तरह से चलते हैं, हम सीधे जाते हैं
00:00:22
उन्नत संपादक पर जाएं, हुह,
00:00:23
पूरा दृश्य रखने के लिए,
00:00:25
जैसा कि आप हर बार देखते हैं
00:00:27
यह शुरू से ही कितना समय लगाएगा
00:00:29
लेट और इन शब्द को खेलें।
00:00:31
अक्षर शब्द इंगित करता है कि हम करेंगे
00:00:33
जोड़तोड़ शुरू करें और
00:00:35
अवधि इंगित करती है कि हमने पूरा कर लिया है
00:00:38
जोड़तोड़ और इसलिए हम करेंगे
00:00:40
कोई विशेष मूल्य वापस करें
00:00:42
उन लोगों के लिए जो थोड़ा कोड करते हैं।
00:00:43
यह वापसी के बराबर है कि हम
00:00:45
कार्यों में हो सकता है,
00:00:47
तो यहां हम कुछ करेंगे
00:00:48
बहुत सरल बात है.
00:00:49
हम एक चर लिखेंगे जिसे कहा जाएगा,
00:00:53
तब मैं वापस आऊंगा
00:00:54
चर की धारणा।
00:00:55
बस याद रखें कि यह आपको स्टोर करने की अनुमति देता है
00:00:58
हमारे कोड के साथ जानकारी।
00:01:01
और इसलिए हम एक चर बनाने जा रहे हैं
00:01:03
जिसे यहां कुछ कहा जाएगा।
00:01:05
जो थोड़े से टेक्स्ट के बराबर होगा।
00:01:11
तो हम बहुत सरल चीजें करते हैं,
00:01:12
ना? अभी के लिए, और हम पहले से ही जा रहे हैं
00:01:14
इस मान को वहां वापस करने का प्रयास करें,
00:01:16
तो यहां हम उनसे पूछेंगे कि
00:01:18
कुछ पलटें और वहां
00:01:19
आप इसे देखते हैं और यह बहुत अच्छा है,
00:01:20
कि वह पहले से ही आपके लिए शुरू होता है
00:01:22
ऑटो-पूर्णता का प्रस्ताव करके मदद करें
00:01:24
कुछ शब्द पर।
00:01:26
हम इसे अंदर लाने जा रहे हैं।
00:01:30
और वहां से, हम देखते हैं कि,
00:01:32
खैर, उसने वापस कर दिया
00:01:35
मूल्य मैंने उसे संकेत दिया, हुह।
00:01:38
यहाँ, इसलिए मैं तब से जा रहा हूँ।
00:01:41
हॉप, उन्नत संपादक से।
00:01:44
एक अनुस्मारक के रूप में कि गर्मियों में क्या हुआ
00:01:47
आपको यहां पुन: प्रक्रिया शुरू करने की अनुमति देता है,
00:01:50
एक चर की सूचना दी गई थी
00:01:52
जिसे कुछ कहा जाता है,
00:01:53
हमने उसके लिए समान संकेत रखा
00:01:55
इंगित करें कि पाठ उस पर रखा जाएगा
00:01:57
और पाठ या कोई अन्य मूल्य।
00:01:59
यह देखा जाएगा कि अन्य प्रकार के भी हैं
00:02:00
डेटा और हम उसे अचानक रख देंगे
00:02:03
मूल्य और फिर अंदर के बाद,
00:02:06
हम उसे इसका मूल्य बताएंगे।
00:02:07
वापस कि हमें वहां भेजा जाता है
00:02:09
केवल एक असंभव है,
00:02:10
यह कुछ ऐसा है, जिसकी घोषणा की गई है।
00:02:13
आप इसे अक्सर देखेंगे अगर मैं
00:02:17
एक रॉकेट लें जिसे आपने पहले ही बनाया है।
00:02:20
अगर मैं कब जाऊं?
00:02:21
प्रकाशक आगे बढ़ रहा था।
00:02:25
तो वास्तव में वह सब कुछ,
00:02:25
वहाँ, जो आप यहाँ देखते हैं,
00:02:26
ये यहां चर हैं
00:02:29
हर बार बराबर और अचानक
00:02:31
परिवर्तन जो हम इसके बारे में करना चाहते हैं।
00:02:33
आपने देखा होगा कि
00:02:35
नामकरण के स्तर पर,
00:02:37
शुरुआत थोड़ी ऐसी लग सकती है
00:02:38
मैंने वहां क्या किया।
00:02:39
यहाँ
00:02:39
हम स्रोत शब्द देखते हैं लेकिन
00:02:41
दूसरी ओर बहुत जल्दी।
00:02:43
हमारे पास ऐसे मूल्य होंगे जो
00:02:45
पाउंड चिह्न से शुरू करें और फिर
00:02:47
कोष्ठक में रखा गया है,
00:02:49
तो यह उस मामले में है जहां
00:02:51
आपके चर का नाम क्या है?
00:02:53
रिक्त स्थान क्योंकि सामान्य रूप से
00:02:54
चर में रिक्त स्थान नहीं हो सकते.
00:02:56
लेकिन एम में हम सक्षम होंगे,
00:02:59
हम इसे करने में सक्षम होंगे और इसलिए इसके लिए,
00:03:01
ताकि एम इसे समझ सके,
00:03:03
हम वहां इस नामकरण का उपयोग करेंगे,
00:03:05
तो मैं अपने कोड में यहां वापस जा रहा हूं।
00:03:08
कि मैंने नहीं रखा?
00:03:10
तो अभी के लिए,
00:03:11
मैं इसके बजाय इसे फाइल में डाल दूंगा।
00:03:12
अन्य रॉकेट।
00:03:14
और हम इसका नाम बदलने जा रहे हैं
00:03:16
इसे प्रशिक्षण कहा जाएगा।
00:03:19
एम, यही वह है और हम वापस जाएंगे
00:03:23
उन्नत संपादक में।
00:03:27
और हमें यह घोषणा करने में मज़ा आने वाला है
00:03:29
रिपोर्ट करने के लिए अन्य बैंक चर
00:03:32
उद्धरण चिह्नों में एक नई प्रक्रिया।
00:03:34
यहां हम अल्पविराम डालेंगे और कहेंगे
00:03:36
कि हम किसी और चीज पर जंजीर ों में जकड़े रहते हैं और
00:03:38
इसलिए हम घोषणा करने जा रहे हैं। एक चर।
00:03:42
तो हमने तेज चरित्र डाला,
00:03:44
हम उद्धरण चिह्न खोलते हैं और हम जाते हैं
00:03:46
नाम पास करें, उदाहरण के लिए यहां हम
00:03:48
कुछ वापस कर देंगे।
00:03:51
लेकिन यहां, यह शॉट एक के साथ
00:03:54
अंतरिक्ष और हमने कितना अच्छा किया
00:03:55
यह पर्यवेक्षी कार्य
00:03:56
उद्धरण चिह्न और पाउंड चिह्न के साथ,
00:03:58
खैर, वे हमारे पास वापस नहीं जाते हैं
00:03:59
गलती है और इसलिए हम इसे रखेंगे
00:04:02
पाठ का एक और मूल्य।
00:04:07
वहां से, कोई त्रुटि नहीं है और
00:04:09
तो अब मैं उससे पूछ सकता हूं
00:04:11
मैं इस मूल्य को जल्द ही वापस करता हूं।
00:04:13
इस प्रकार? और देखें क्या होता है।
00:04:19
तो यह है, जाहिर है,
00:04:19
वे अभी तक टेबल नहीं हैं,
00:04:21
हम सिर्फ प्रशिक्षण ले रहे हैं
00:04:23
पाठ के बारे में लौटने के लिए,
00:04:25
लेकिन आपने देखा है कि कैसे, संभावित रूप से,
00:04:27
एकाधिक चर घोषित करें.
00:04:28
हम यह भी देखते हैं कि,
00:04:30
चूंकि मैं लाइन पर वापस चला गया।
00:04:33
हाँ, यहाँ मैं हूँ,
00:04:34
मैंने अल्पविराम डाला, मैं वापस चला गया,
00:04:35
मैं वापस लाइन पर चला गया।
00:04:37
खैर, वह इस पर विचार करेंगे
00:04:39
यह मेरा एक कदम था,
00:04:41
मेरी प्रक्रिया का पालन करें और इसलिए मुझे बनाएं
00:04:42
यहाँ एक कदम जैसा कि आप देखते हैं,
00:04:44
तो यह वास्तव में बिल्कुल सही है
00:04:46
जैसे कि हम मेनू का उपयोग कर रहे थे।
00:04:49
तो अगर हम थोड़ा सा सुधार करते हैं
00:04:49
अभी क्या कहा गया है,
00:04:50
कि यह वास्तव में आधार है,
00:04:51
आपको वास्तव में कोशिश करनी चाहिए
00:04:53
यह सब समझने के लिए।
00:04:54
तो हमारे पास लेथे है जो सभी को समझाया गया है
00:04:57
डेटा पर किए गए जोड़तोड़।
00:04:59
चर में से 2 की रिपोर्ट की जा सकती है
00:05:01
2 प्रारूपों में कब?
00:05:03
इसमें रिक्त स्थान शामिल हैं,
00:05:05
हमें पाउंड से शुरू करना होगा,
00:05:06
फिर उद्धरण चिह्न डालें।
00:05:07
और अगर इसमें रिक्त स्थान नहीं है,
00:05:09
खैर हम इसे सीधे लिख सकते हैं
00:05:11
और फिर
00:05:12
एक बार जब हम अंदर पहुंच जाते हैं,
00:05:14
अधिक हेरफेर है जो हैं
00:05:16
जो संभव हैं और इसलिए हम
00:05:18
जोड़ने में सक्षम होगा
00:05:20
वह शब्द जिसे कोई वापस लौटना चाहता है।
00:05:23
जैसा कि आप यहां देखते हैं,
00:05:24
इस उदाहरण में मैंने डीईएस जोड़ा,
00:05:27
डुप्लिकेट
00:05:27
स्लैश और जिसके पीछे का पाठ
00:05:29
एक ही रंग में प्रदर्शित नहीं किया जाता है।
00:05:30
यह टिप्पणियों से मेल खाता है।
00:05:33
तो अगर मैं यहां अपने कोड पर वापस जाता हूं।
00:05:34
और यह कि मैं उन्नत संपादक पर वापस जाता हूं।
00:05:38
अच्छा
00:05:38
मैं यहाँ तक पहुँच सकता हूँ
00:05:40
उदाहरण के लिए डबल स्लैश और पुट
00:05:42
थोड़ा सा ब्लाह।
00:05:44
थोड़ा सा ब्लाह ब्लाह।
00:05:48
और यह वास्तव में,
00:05:49
यह निष्पादित नहीं किया जाएगा,
00:05:49
यह केवल टिप्पणियाँ है
00:05:50
एक छोटे से को समझाने में सक्षम होना
00:05:52
हम जो जोड़तोड़ करते हैं, वह बहुत कम है।
00:05:53
यह सभी भाषाओं के लिए सार्वभौमिक है,
00:05:55
प्रोग्रामिंग और इसलिए
00:05:57
आप खुद आपकी मदद कर सकते हैं,
00:05:58
याद रखें कि आप क्या
00:06:00
किया है और आपने क्यों किया है
00:06:01
इस प्रकार का हेरफेर करता है।
00:06:02
तो यह होना अच्छा है
00:06:03
रिफ्लेक्स अपने कोड पर टिप्पणी करने के लिए।
00:06:05
यह एक बड़ा दोष है जो मेरे पास है,
00:06:06
यह है कि मैं इसे करने के लिए संघर्ष कर रहा हूं,
00:06:08
लेकिन मैं आपको लेने के लिए आमंत्रित करता हूं
00:06:10
तुरंत अच्छी आदतें
00:06:12
मुझे पसंद नहीं करता और अच्छी तरह से सोच रहा है
00:06:14
अपने कोड पर टिप्पणी करें और इसलिए वहां,
00:06:16
आमतौर पर अगर मैं इसे चलाता हूं,
00:06:17
आपको एहसास होगा कि यह
00:06:19
कोई प्रदर्शन नहीं है, है ना,
00:06:20
मैंने अभी जो किया है,
00:06:21
जैसा कि आप यहां देखते हैं।
00:06:23
आह, टिप्पणी मौजूद नहीं है जैसा कि यह खड़ा है,
00:06:25
कोड के निष्पादन के लिए किसी भी मामले में,
00:06:26
यह केवल तभी होता है जब आप
00:06:27
उन्नत संपादक में है।

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
Quindi, iniziamo subito.
00:00:01
E creeremo nel file di
00:00:04
festival nel file del festival,
00:00:06
Saremo in grado di creare una query a
00:00:08
piccola consuetudine che ci permetterà
00:00:09
per addestrarci a scrivere.
00:00:11
La nostra prima richiesta in M e quindi
00:00:15
per questo e bene in questi casi,
00:00:16
Ci sarà solo un tipo
00:00:17
possibile fonte,
00:00:18
sarà la query vuota qui,
00:00:20
e andiamo totalmente, andiamo direttamente
00:00:22
Vai all'editor avanzato eh,
00:00:23
per avere la visione completa,
00:00:25
Così come vedi ogni volta
00:00:27
volte che metterà fin dall'inizio di
00:00:29
Gioca il termine let e il termine in.
00:00:31
La lettera del termine indica che
00:00:33
Avviare le manipolazioni e il
00:00:35
termine in indica che abbiamo completato
00:00:38
le manipolazioni e quindi lo faremo
00:00:40
Restituire un valore particolare
00:00:42
per chi codifica un po'.
00:00:43
Questo è l'equivalente del ritorno che abbiamo
00:00:45
può avere in funzioni,
00:00:47
Quindi qui faremo qualcosa
00:00:48
Cosa molto semplice.
00:00:49
Scriveremo una variabile che verrà chiamata,
00:00:53
poi tornerò su
00:00:54
la nozione di variabile.
00:00:55
Ricorda solo che ti consente di memorizzare
00:00:58
informazioni sul nostro codice.
00:01:01
E quindi creeremo una variabile
00:01:03
che qui si chiamerà qualcosa.
00:01:05
Che sarà uguale a un piccolo testo.
00:01:11
Quindi facciamo cose piuttosto semplici,
00:01:12
eh? Per ora, e stiamo già andando
00:01:14
prova a restituire questo valore lì,
00:01:16
Quindi qui gli chiederemo di
00:01:18
capovolgere qualcosa e lì
00:01:19
Lo vedi e questo è fantastico,
00:01:20
che ce l'abbia già comincia a te
00:01:22
Aiuto proponendo un completamento automatico
00:01:24
sul termine qualcosa.
00:01:26
Lo inseriremo.
00:01:30
E da lì, vediamo che,
00:01:32
Bene, ha restituito il
00:01:35
valore che gli ho indicato, eh.
00:01:38
Ecco, quindi me ne vado da allora.
00:01:41
Hop, dall'editor avanzato così.
00:01:44
Come promemoria di ciò che è successo in estate
00:01:47
consente di avviare rielaborazioni qui,
00:01:50
È stata segnalata una variabile
00:01:52
che si chiama qualcosa,
00:01:53
Abbiamo messo il segno uguale per lui
00:01:55
indicare che il testo verrà inserito su di esso
00:01:57
e testo o qualsiasi altro valore.
00:01:59
Si vedrà che ci sono altri tipi di
00:02:00
dati e lo collocheremo improvvisamente un
00:02:03
e quindi a dopo l'in,
00:02:06
Gli diremo il valore di
00:02:07
indietro che siamo mandati e lì
00:02:09
C'è solo un impossibile,
00:02:10
Questo è qualcosa, quello che è stato dichiarato.
00:02:13
Lo vedrete spesso nel se io
00:02:17
Prendi un razzo che hai già creato.
00:02:20
Se vado quando?
00:02:21
L'editore stava andando avanti.
00:02:25
Quindi in effetti tutto questo,
00:02:25
Ecco, quello che vedete qui,
00:02:26
Queste sono variabili qui con
00:02:29
ogni volta uguale e improvvisamente il
00:02:31
trasformazione che vogliamo farne.
00:02:33
Avrai notato che
00:02:35
a livello di nomenclatura allora,
00:02:37
L'inizio potrebbe assomigliare un po 'come
00:02:38
a quello che ho fatto lì.
00:02:39
Qui
00:02:39
Vediamo il termine fonte ma
00:02:41
d'altra parte molto rapidamente.
00:02:43
Avremo valori che
00:02:45
Inizia con il cancelletto e poi
00:02:47
sono messi tra parentesi,
00:02:49
Quindi questo è nel caso in cui il
00:02:51
Il nome della variabile ha
00:02:53
spazi perché normalmente un
00:02:54
variabile non può contenere spazi.
00:02:56
Ma in M saremo in grado di,
00:02:59
Saremo in grado di farlo e così per questo,
00:03:01
in modo che la M possa capirlo,
00:03:03
Useremo questa nomenclatura lì,
00:03:05
Quindi tornerò qui nel mio codice.
00:03:08
Che ho messo il no?
00:03:10
Quindi, per ora,
00:03:11
Lo metterò invece nel file.
00:03:12
Altri razzi.
00:03:14
E lo rinomineremo
00:03:16
lo chiamerà formazione.
00:03:19
M, Questo è tutto e torneremo indietro
00:03:23
nell'editor avanzato.
00:03:27
E ci divertiremo a dichiarare un
00:03:29
Altra variabile bancaria da segnalare
00:03:32
Nuova procedura tra virgolette.
00:03:34
Qui metteremo una virgola e diremo
00:03:36
che ci incatenamo su qualcos'altro e
00:03:38
Quindi dichiareremo. Una variabile.
00:03:42
Quindi abbiamo messo il carattere affilato,
00:03:44
apriamo le virgolette e andiamo
00:03:46
passare il nome così ad esempio qui abbiamo
00:03:48
rimetterà qualcosa di nuovo.
00:03:51
Ma ecco, questo scatto con un
00:03:54
spazio e quanto bene abbiamo fatto
00:03:55
Questo lavoro di supervisione
00:03:56
con virgolette e cancelletto,
00:03:58
Beh, non tornano da noi
00:03:59
di errore e quindi lì lo metteremo
00:04:02
Un altro valore del testo.
00:04:07
Da lì, non ci sono errori e
00:04:09
Quindi ora posso chiedergli di
00:04:11
Restituisco questo valore prima.
00:04:13
Così? E vedere cosa succede.
00:04:19
Quindi questo è tutto, ovviamente,
00:04:19
non sono ancora tabelle,
00:04:21
Ci stiamo solo allenando
00:04:23
per tornare, eh, del testo,
00:04:25
Ma hai visto come, potenzialmente,
00:04:27
Dichiarare più variabili.
00:04:28
Vediamo anche che,
00:04:30
da quando sono tornato alla linea.
00:04:33
Sì, eccomi qui,
00:04:34
Ho messo una virgola, sono tornato indietro,
00:04:35
Sono tornato alla linea.
00:04:37
Bene, considererà che
00:04:39
È stato un mio passo,
00:04:41
del mio processo e quindi crearmi
00:04:42
Ecco un passo come vedi,
00:04:44
Quindi è davvero esattamente
00:04:46
Come se stessimo usando i menu.
00:04:49
Quindi se ricapitoliamo un po '
00:04:49
Quanto è stato appena detto,
00:04:50
che questa è davvero la base,
00:04:51
Devi davvero provare a
00:04:53
per capire eh tutto questo.
00:04:54
Quindi abbiamo il lethe che ha incapsulato tutto
00:04:57
le manipolazioni eseguite sui dati.
00:04:59
2 delle variabili possono essere segnalate
00:05:01
Da in 2 formati quando?
00:05:03
Contiene spazi,
00:05:05
Dovremo iniziare con la sterlina,
00:05:06
quindi metti le virgolette.
00:05:07
E se non contiene spazi,
00:05:09
beh possiamo scriverlo direttamente
00:05:11
E poi
00:05:12
Una volta raggiunto l'in,
00:05:14
C'è più manipolazione che sono
00:05:16
che sono possibili e quindi noi
00:05:18
sarà in grado di aggiungere il
00:05:20
termine che si desidera restituire.
00:05:23
Quindi, come vedete qui,
00:05:24
In questo esempio ho aggiunto DES,
00:05:27
Duplicati
00:05:27
barra e il testo dietro il quale
00:05:29
non viene visualizzato nello stesso colore.
00:05:30
Ciò corrisponde alle osservazioni.
00:05:33
Quindi se torno qui al mio codice.
00:05:34
E che torno all'editor avanzato.
00:05:38
Bene
00:05:38
Sarò in grado di mettere qui da
00:05:40
Esempio una doppia barra e metti
00:05:42
Un po' di bla.
00:05:44
Un po' bla bla.
00:05:48
E che in realtà,
00:05:49
non sarà eseguito,
00:05:49
sono solo commenti
00:05:50
per essere in grado di spiegare un piccolo
00:05:52
poco le manipolazioni che facciamo.
00:05:53
È universale per tutte le lingue di,
00:05:55
programmazione e in modo che
00:05:57
può aiutarti da solo,
00:05:58
per ricordare ciò che si
00:06:00
hanno fatto e perché hai
00:06:01
fa questo tipo di manipolazione.
00:06:02
Quindi è bello avere il
00:06:03
riflesso per commentare il suo codice.
00:06:05
Io questo è un grande difetto che ho,
00:06:06
è che sto lottando per farlo,
00:06:08
ma vi invito a prendere
00:06:10
Subito buone abitudini
00:06:12
non mi piace e pensando bene
00:06:14
commenta il tuo codice e così via,
00:06:16
in genere se lo eseguo,
00:06:17
Ti renderai conto che
00:06:19
Non c'è display, eh,
00:06:20
di quello che ho appena fatto,
00:06:21
eh, come vedi qui.
00:06:23
Ah, il commento non esiste così com'è,
00:06:25
in ogni caso per l'esecuzione del codice,
00:06:26
è solo quando si
00:06:27
è nell'editor avanzato.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
Jadi, mari kita mulai segera.
00:00:01
Dan kami akan membuat dalam file
00:00:04
festival dalam file festival,
00:00:06
Kita akan dapat membuat kueri a
00:00:08
kebiasaan kecil yang akan memungkinkan kita
00:00:09
untuk melatih kita menulis.
00:00:11
Permintaan pertama kami di M dan karena itu
00:00:15
untuk itu dan baik dalam kasus ini,
00:00:16
hanya akan ada satu jenis
00:00:17
sumber yang mungkin,
00:00:18
itu akan menjadi kueri kosong di sini,
00:00:20
dan kami pergi sepenuhnya, kami langsung pergi
00:00:22
Masuk ke editor lanjutan ya,
00:00:23
untuk memiliki tampilan yang lengkap,
00:00:25
Jadi seperti yang Anda lihat setiap saat
00:00:27
kali itu akan dimasukkan sejak awal
00:00:29
Mainkan istilah biarkan dan istilah masuk.
00:00:31
Istilah surat menunjukkan bahwa kita akan
00:00:33
Mulai manipulasi dan
00:00:35
term in menunjukkan bahwa kami telah menyelesaikan
00:00:38
manipulasi dan karena itu kami akan
00:00:40
Mengembalikan nilai tertentu
00:00:42
bagi mereka yang membuat kode sedikit.
00:00:43
Ini setara dengan pengembalian yang kita
00:00:45
mungkin memiliki fungsi,
00:00:47
Jadi di sini kita akan melakukan sesuatu
00:00:48
Hal yang sangat sederhana.
00:00:49
Kami akan menulis variabel yang akan disebut,
00:00:53
maka saya akan kembali ke
00:00:54
pengertian variabel.
00:00:55
Ingatlah bahwa ini memungkinkan Anda untuk menyimpan
00:00:58
informasi di sepanjang kode kami.
00:01:01
Jadi kita akan membuat variabel
00:01:03
yang akan disebut sesuatu di sini.
00:01:05
Yang akan sama dengan teks kecil.
00:01:11
Jadi kami melakukan hal-hal yang cukup sederhana,
00:01:12
ya? Untuk saat ini, dan kami sudah pergi
00:01:14
cobalah untuk mengembalikan nilai ini di sana,
00:01:16
Jadi di sini kita akan memintanya untuk
00:01:18
balikkan sesuatu ke sana-sini
00:01:19
Anda melihat itu dan itu bagus,
00:01:20
bahwa dia memilikinya sudah mulai kepada Anda
00:01:22
Membantu dengan mengusulkan pelengkapan otomatis
00:01:24
pada istilah sesuatu.
00:01:26
Kita akan memasukkannya.
00:01:30
Dan dari sana, kita melihat bahwa,
00:01:32
Yah, dia memang mengembalikan
00:01:35
nilai yang saya tunjukkan kepadanya, ya.
00:01:38
Di sini, jadi saya sudah pergi sejak itu.
00:01:41
Hop, dari editor tingkat lanjut begitu.
00:01:44
Sebagai pengingat apa yang terjadi di musim panas
00:01:47
memungkinkan Anda untuk memulai proses ulang di sini,
00:01:50
variabel dilaporkan
00:01:52
yang disebut sesuatu,
00:01:53
Kami menempatkan tanda yang sama untuknya
00:01:55
menunjukkan bahwa teks akan ditempatkan di atasnya
00:01:57
dan teks atau nilai lainnya.
00:01:59
Akan terlihat bahwa ada jenis lain dari
00:02:00
data dan kami akan menempatkannya tiba-tiba
00:02:03
nilai dan kemudian setelah masuk,
00:02:06
Kami akan memberitahunya nilai dari
00:02:07
kembali bahwa kita dikirim dan di sana
00:02:09
hanya ada satu yang tidak mungkin,
00:02:10
Itu adalah sesuatu, yang telah dinyatakan.
00:02:13
Anda akan sering melihatnya di if I
00:02:17
Ambil roket yang sudah Anda buat.
00:02:20
Jika saya pergi kapan?
00:02:21
Penerbit bergerak maju.
00:02:25
Jadi sebenarnya ada semua itu,
00:02:25
di sana, apa yang Anda lihat di sini,
00:02:26
Ini adalah variabel di sini dengan
00:02:29
setiap kali sama dan tiba-tiba
00:02:31
transformasi yang ingin kita lakukan darinya.
00:02:33
Anda mungkin telah memperhatikan bahwa
00:02:35
pada tingkat nomenklatur maka,
00:02:37
Awalnya mungkin terlihat seperti
00:02:38
untuk apa yang saya lakukan di sana.
00:02:39
Sini
00:02:39
Kami melihat istilah sumber tetapi
00:02:41
di sisi lain sangat cepat.
00:02:43
Kami akan memiliki nilai-nilai yang
00:02:45
Mulailah dengan tanda pound dan kemudian
00:02:47
dimasukkan ke dalam tanda kurung,
00:02:49
Jadi itu dalam kasus di mana
00:02:51
Nama variabel Anda memiliki
00:02:53
spasi karena biasanya a
00:02:54
variabel tidak dapat berisi spasi.
00:02:56
Tapi di M kita akan bisa,
00:02:59
Kami akan dapat melakukannya dan untuk itu,
00:03:01
sehingga M dapat memahaminya,
00:03:03
Kami akan menggunakan nomenklatur ini di sana,
00:03:05
Jadi saya akan kembali ke sini dalam kode saya.
00:03:08
Bahwa saya menempatkan tidak?
00:03:10
Jadi untuk saat ini,
00:03:11
Saya akan memasukkannya ke dalam file sebagai gantinya.
00:03:12
Roket lainnya.
00:03:14
Dan kita akan mengganti namanya
00:03:16
akan menyebutnya pelatihan.
00:03:19
M, Itu saja dan kami akan kembali
00:03:23
di editor tingkat lanjut.
00:03:27
Dan kita akan bersenang-senang mendeklarasikan
00:03:29
Variabel bank lain untuk dilaporkan
00:03:32
Prosedur baru dalam tanda kutip.
00:03:34
Di sini kita akan menempatkan koma dan mengatakan
00:03:36
bahwa kita merantai sesuatu yang lain dan
00:03:38
Jadi kami akan menyatakan. Sebuah variabel.
00:03:42
Jadi kami menempatkan karakter yang diasah,
00:03:44
kami membuka tanda kutip dan kami pergi
00:03:46
Berikan namanya jadi misalnya di sini kita
00:03:48
akan mengembalikan sesuatu lagi.
00:03:51
Tapi di sini, bidikan ini dengan
00:03:54
Ruang dan Seberapa Baik Kami Melakukannya
00:03:55
Pekerjaan pengawasan ini
00:03:56
dengan tanda kutip dan tanda pound,
00:03:58
Yah mereka tidak kembali kepada kita
00:03:59
kesalahan dan oleh karena itu di sana kami akan menempatkannya
00:04:02
Nilai lain dari teks.
00:04:07
Dari sana, tidak ada kesalahan dan
00:04:09
Jadi sekarang saya bisa memintanya untuk
00:04:11
Saya mengembalikan nilai ini lebih cepat.
00:04:13
Sehingga? Dan lihat apa yang terjadi.
00:04:19
Jadi itu saja, jelas,
00:04:19
mereka belum meja,
00:04:21
Kami hanya berlatih
00:04:23
untuk mengembalikan, eh, dari teks,
00:04:25
Tetapi Anda telah melihat bagaimana, berpotensi,
00:04:27
mendeklarasikan beberapa variabel.
00:04:28
Kami juga melihat bahwa,
00:04:30
sejak saya kembali ke antrean.
00:04:33
Ya, inilah saya,
00:04:34
Saya koma, saya kembali,
00:04:35
Saya kembali ke antrean.
00:04:37
Yah, dia akan mempertimbangkan itu
00:04:39
Itu adalah langkah saya,
00:04:41
dari proses saya dan karena itu menciptakan saya
00:04:42
di sini langkah seperti yang Anda lihat,
00:04:44
Jadi itu benar-benar tepat
00:04:46
seolah-olah kita menggunakan menu.
00:04:49
Jadi kalau kita rekap sedikit
00:04:49
Apa yang baru saja dikatakan,
00:04:50
bahwa ini benar-benar dasarnya,
00:04:51
Anda benar-benar harus mencoba
00:04:53
untuk memahami ya semua itu.
00:04:54
Jadi kita memiliki lethe yang merangkum semua
00:04:57
manipulasi yang dilakukan pada data.
00:04:59
2 variabel dapat dilaporkan
00:05:01
Dari dalam 2 format kapan?
00:05:03
Ini berisi spasi,
00:05:05
Kita harus mulai dengan pound,
00:05:06
Kemudian beri tanda kutip.
00:05:07
Dan jika tidak mengandung spasi,
00:05:09
nah kita bisa menulisnya langsung
00:05:11
lalu
00:05:12
Begitu kita mencapai masuk,
00:05:14
Ada lebih banyak manipulasi yang
00:05:16
yang mungkin dan oleh karena itu kami
00:05:18
akan dapat menambahkan
00:05:20
istilah yang ingin dikembalikan.
00:05:23
Jadi seperti yang Anda lihat di sini,
00:05:24
Dalam contoh ini saya menambahkan DES,
00:05:27
Duplikat
00:05:27
garis miring dan teks di belakangnya
00:05:29
tidak ditampilkan dalam warna yang sama.
00:05:30
Itu sesuai dengan komentar.
00:05:33
Jadi jika saya kembali ke sini ke kode saya.
00:05:34
Dan saya kembali ke editor tingkat lanjut.
00:05:38
Sumur
00:05:38
Saya akan dapat menempatkan di sini dengan
00:05:40
Contoh garis miring ganda dan letakkan
00:05:42
Sedikit bla.
00:05:44
Sedikit bla bla.
00:05:48
Dan itu sebenarnya,
00:05:49
itu tidak akan dieksekusi,
00:05:49
itu hanya komentar
00:05:50
untuk dapat menjelaskan yang kecil
00:05:52
sedikit manipulasi yang kita lakukan.
00:05:53
Ini universal untuk semua bahasa,
00:05:55
pemrograman dan sebagainya
00:05:57
dapat membantu Anda sendiri,
00:05:58
untuk mengingat apa yang Anda
00:06:00
telah melakukan dan mengapa Anda memiliki
00:06:01
melakukan manipulasi jenis ini.
00:06:02
Jadi senang memiliki
00:06:03
refleks untuk mengomentari kodenya.
00:06:05
Saya ini adalah cacat besar yang saya miliki,
00:06:06
itu karena saya berjuang untuk melakukannya,
00:06:08
tapi saya mengundang Anda untuk mengambil
00:06:10
Segera kebiasaan baik
00:06:12
tidak seperti saya dan berpikir tentang dengan baik
00:06:14
komentari kode Anda dan di sana,
00:06:16
biasanya jika saya menjalankannya,
00:06:17
Anda akan menyadari bahwa itu
00:06:19
Tidak ada pajangan, ya,
00:06:20
dari apa yang baru saja saya lakukan,
00:06:21
ya, seperti yang Anda lihat di sini.
00:06:23
Ah, komentar itu tidak ada seperti berdiri,
00:06:25
dalam hal apa pun untuk pelaksanaan kode,
00:06:26
itu hanya ketika Anda
00:06:27
Ada di editor tingkat lanjut.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

00:00:00
Então, vamos começar imediatamente
00:00:01
E vamos criar na pasta
00:00:04
festivais no arquivo do festival,
00:00:06
Vamos poder criar uma consulta
00:00:08
Isso permitir-nos-á
00:00:09
para nos treinar a escrever.
00:00:11
Nossa primeira consulta em M e, portanto,
00:00:15
Para isso, bem nesses casos,
00:00:16
Haverá apenas um tipo
00:00:17
possível fonte,
00:00:18
Vai ser a pergunta vazia aqui,
00:00:20
E nós estamos indo totalmente, estamos indo bem
00:00:22
ir para o editor avançado hein,
00:00:23
para obter a visão completa,
00:00:25
Então, como você vê toda vez que você vê,
00:00:27
vezes que vai definir a entrada de
00:00:29
jogar o termo let e o termo in.
00:00:31
O termo carta indica que
00:00:33
iniciar as manipulações e o
00:00:35
term in indica que terminamos
00:00:38
manipulações e assim vamos
00:00:40
Retornar um valor específico
00:00:42
Para quem codifica um pouco.
00:00:43
É o equivalente ao retorno que nós
00:00:45
pode ter em funções,
00:00:47
Então aqui vamos fazer alguma coisa
00:00:48
É muito simples.
00:00:49
Vamos escrever uma variável que vai ser chamada,
00:00:53
Então eu vou voltar para
00:00:54
a noção de variável.
00:00:55
Apenas lembre-se que ele permite que você armazene
00:00:58
informações ao longo do nosso código.
00:01:01
E assim vamos criar uma variável
00:01:03
isso vai ser chamado de algo aqui.
00:01:05
O que vai ser igual a um pouco de texto.
00:01:11
Então nós fazemos algumas coisas muito simples,
00:01:12
hein? Por enquanto, e já vamos
00:01:14
tentar devolver esse valor lá,
00:01:16
Por isso, agora vamos pedir-lhe que
00:01:18
Vire algo e lá
00:01:19
Você vê isso e isso é ótimo,
00:01:20
que ele tem, ele já está começando para você
00:01:22
Ajuda oferecendo preenchimento automático
00:01:24
sobre o termo algo.
00:01:26
Nós vamos encaixar isso.
00:01:30
E a partir daí, vemos que,
00:01:32
Bem, ele deu a volta por cima para mim.
00:01:35
valor que eu dei a ele, hein.
00:01:38
Aqui, então eu tenho voltado desde então.
00:01:41
Então, do editor avançado.
00:01:44
Como lembrete, o que aconteceu no verão
00:01:47
permite que você comece a reprocessar aqui,
00:01:50
Foi reportada uma variável
00:01:52
que se chama algo,
00:01:53
Colocamos o sinal de igualdade para ele
00:01:55
indicar que vamos colocar texto nele
00:01:57
e, finalmente, texto ou qualquer outro valor.
00:01:59
Veremos que existem outros tipos de
00:02:00
e vamos colocar um
00:02:03
valor e, em seguida, para depois do in,
00:02:06
Vamos dizer-lhe o valor de
00:02:07
de volta sejamos enviados e lá
00:02:09
há apenas um impossível,
00:02:10
Isso é algo, aquele que foi declarado.
00:02:13
Você verá isso com frequência no
00:02:17
Pegue um foguete que já criamos.
00:02:20
Se eu for, quando?
00:02:21
A editora avançava.
00:02:25
Então, lá está, de fato, tudo isso,
00:02:25
O que você vê aqui,
00:02:26
Estas são variáveis aqui com a
00:02:29
cada vez igual e subitamente o A
00:02:31
a transformação que queremos fazer dela.
00:02:33
Você provavelmente já reparou que
00:02:35
ao nível da nomenclatura, então,
00:02:37
O início pode ser um pouco parecido com
00:02:38
ao que fiz lá.
00:02:39
Aqui
00:02:39
Vemos o termo fonte, mas
00:02:41
por outro lado, muito rapidamente.
00:02:43
Vamos ter valores que
00:02:45
comece com uma libra e depois
00:02:47
são colocados entre parênteses,
00:02:49
Então é no caso em que o
00:02:51
O nome da variável tem
00:02:53
espaços porque normalmente um
00:02:54
variável não pode conter espaços.
00:02:56
Mas em M vamos ser capazes de,
00:02:59
Nós vamos ser capazes de fazer isso e, portanto, para isso,
00:03:01
para que o M possa compreendê-lo,
00:03:03
Vamos usar essa nomenclatura lá,
00:03:05
Então eu vou voltar aqui no meu código.
00:03:08
Que eu coloquei o não?
00:03:10
Então, por enquanto,
00:03:11
Eu vou colocá-lo na pasta em vez disso.
00:03:12
Outros foguetes.
00:03:14
E vamos renomeá-lo
00:03:16
vai chamar-lhe formação.
00:03:19
M, É isso e vamos voltar
00:03:23
no Editor Avançado.
00:03:27
E vamos nos divertir declarando um
00:03:29
Outra variável bancária a reportar
00:03:32
Um novo procedimento entre aspas.
00:03:34
Vamos colocar uma vírgula aqui e dizer
00:03:36
que passemos para outra coisa, e
00:03:38
Então nós vamos declarar. Uma variável.
00:03:42
Então nós colocamos o caráter libra,
00:03:44
Abrimos as aspas e vamos
00:03:46
passar o nome assim, por exemplo, aqui nós
00:03:48
vai colocar algo de novo.
00:03:51
Mas aqui, desta vez com um
00:03:54
espaço e quão bem nos saímos
00:03:55
Este trabalho de supervisão
00:03:56
entre aspas e libras,
00:03:58
Bem, eles não vão até nós
00:03:59
erro e por isso aqui vamos colocá-lo
00:04:02
Mais um valor do texto.
00:04:07
A partir daí, não há erro e
00:04:09
Por isso, posso agora pedir-lhe que
00:04:11
Devolvo esse valor mais cedo.
00:04:13
Assim? E veja o que acontece.
00:04:19
Aí está, obviamente,
00:04:19
ainda não são pinturas,
00:04:21
Estamos apenas treinando
00:04:23
a ser devolvido, eh, do texto,
00:04:25
Mas você já viu como, potencialmente,
00:04:27
Declare várias variáveis.
00:04:28
Também podemos ver que,
00:04:30
desde que voltei para a fila.
00:04:33
Sim, aqui estou,
00:04:34
Coloquei uma vírgula, voltei,
00:04:35
Voltei para a fila.
00:04:37
Bem, ele vai considerar isso
00:04:39
Foi um passo meu,
00:04:41
do meu processo e, portanto, criar-me
00:04:42
Aqui está um passo como você pode ver,
00:04:44
Então é realmente exatamente
00:04:46
como se estivéssemos usando os menus.
00:04:49
Então, se recapitularmos um pouco
00:04:49
O que acabámos de dizer,
00:04:50
que é realmente a base,
00:04:51
Você realmente tem que tentar
00:04:53
para entender tudo isso.
00:04:54
Então, temos o lethe que encapsulava tudo
00:04:57
as manipulações realizadas sobre os dados.
00:04:59
Podemos declarar 2 das variáveis
00:05:01
em 2 formatos quando?
00:05:03
Contém espaços,
00:05:05
Vamos ter que começar com afiado,
00:05:06
em seguida, coloque aspas.
00:05:07
E se não contiver um espaço,
00:05:09
Bem, podemos escrevê-lo diretamente
00:05:11
E depois
00:05:12
Uma vez que você chegar ao in,
00:05:14
Há mais manipulação que é
00:05:16
que são possíveis e, portanto, nós
00:05:18
será capaz de adicionar o
00:05:20
termo que você deseja retornar.
00:05:23
Então, como você vê aqui,
00:05:24
Neste exemplo, adicionei dados,
00:05:27
duplas,
00:05:27
barra e texto por trás
00:05:29
não é exibido na mesma cor.
00:05:30
É isso que são os comentários.
00:05:33
Então, se eu voltar aqui para o meu código.
00:05:34
E volto ao editor avançado.
00:05:38
Bem
00:05:38
Eu vou ser capaz de colocar aqui por
00:05:40
exemplo de uma barra dupla e conjunto
00:05:42
Um pouco de blá blá.
00:05:44
Um pouco de blá blá blá.
00:05:48
E que, de facto,
00:05:49
não será executado,
00:05:49
são apenas comentários
00:05:50
para ser capaz de explicar um pequeno
00:05:52
Um pouco sobre as manipulações que fazemos.
00:05:53
É universal para todas as línguas de,
00:05:55
programação e assim por diante
00:05:57
pode ajudá-lo a si mesmo,
00:05:58
para lembrar o que você
00:06:00
fez e por que o fez
00:06:01
faz esse tipo de manipulação.
00:06:02
Por isso, é bom ter o
00:06:03
reflex para comentar o seu código.
00:06:05
É uma grande falha que eu tenho,
00:06:06
é que estou a ter dificuldade em fazê-lo,
00:06:08
mas convido-vos a tomar
00:06:10
De imediato, bons hábitos
00:06:12
não gosto de mim e penso bem
00:06:14
comente sobre o seu código e assim por diante,
00:06:16
normalmente se eu executá-lo,
00:06:17
Você descobrirá que é
00:06:19
Não tem display, hein,
00:06:20
do que acabei de fazer,
00:06:21
Huh, como você vê aqui.
00:06:23
Ah, o comentário não existe como está,
00:06:25
em qualquer caso, para a execução do código,
00:06:26
é só quando você
00:06:27
está no Editor Avançado.

Il n’existe aucun élément correspondant à votre recherche dans cette vidéo...
Effectuez une autre recherche ou retournez au contenu !

 

DiLeap AI: CE QUI POURRAIT VOUS INTÉRESSER

Rappel

Afficher